Hi Niklas,
> So in code it should look like this: > If user is my argument that was given to render_to_response, i want to > give the function the submodel status of user; like this: > {{ percentbar user.status }} > Some docs on how to achieve this can be found here: http://www.djangoproject.com/documentation/templates_python/#passing-template-variables-to-the-tag Hope that helps, Peter > Is there a way to give this variable to the percentbar function in the > template? > Or should I do it through the views.py... > > I hope you understood my problem, because my english is very bad :) > > Niklas Voss --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---