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
    x...@thebuild.com

--

You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=.


Reply via email to