Re: Have var available in every context passed to a template?

2009-11-22 Thread apramanik
Great, that worked! Abhik On Nov 21, 6:52 pm, Christophe Pettus 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

Re: Have var available in every context passed to a template?

2009-11-21 Thread Christophe Pettus
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. Tha

Have var available in every context passed to a template?

2009-11-21 Thread apramanik
Hi all, 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 Abhik -- You received this message beca