On 3 Okt., 13:18, peschler <[EMAIL PROTECTED]> wrote: > 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-... > > 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
Thank you, i was looking for that :) You helped me very well, so big thanks! 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 -~----------~----~----~----~------~----~------~--~---