Re: Have var available in every context passed to a template?
Great, that worked!
Abhik
On Nov 21, 6:52 pm, Christophe Pettus <x...@thebuild.com> wrote:
> 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-c...
>
> --
> -- 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-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home