Re: "Global" variables for templates

2008-06-08 Thread Armandas
That's what I was looking for. Thank you! On Jun 8, 8:14 pm, "Adi J. Sieker" <[EMAIL PROTECTED]> wrote: > Hi, > > Armandas wrote: > > Hi, I have this issue about some variables that should be available in > > templates, no matter which view is called. So far I could only think > > of making a cus

Re: "Global" variables for templates

2008-06-08 Thread Adi J. Sieker
Hi, Armandas wrote: > Hi, I have this issue about some variables that should be available in > templates, no matter which view is called. So far I could only think > of making a custom function, that would add these variables like so: > > def render(request, template, context): > #variables

"Global" variables for templates

2008-06-08 Thread Armandas
Hi, I have this issue about some variables that should be available in templates, no matter which view is called. So far I could only think of making a custom function, that would add these variables like so: def render(request, template, context): #variables that should be allways available