On Nov 21, 2009, at 6:48 PM, apramanik wrote:
> Is there a way (either via decorators or some other mechanism) to get
> an var/object (say request.user) to be in the context passed to every
> template. The reason I want to do this is my base template uses
> "user.is_authenticated" in a branch. Thanks
http://docs.djangoproject.com/en/dev/ref/templates/api/#django-core-context-processors-auth
--
-- Christophe Pettus
[email protected]
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
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=.