Ya, It did work luke, What was I thinking, accessing it like
{{ request.meta["TIER"] }}
Sorry for that and thanks again for your help.Sonal On Feb 4, 9:30 am, Sonal Breed <[email protected]> wrote: > I mean to say {{ request.meta["TIER"] }} > > On Feb 4, 9:25 am, Sonal Breed <[email protected]> wrote: > > > Hi all, > > In my default-server.conf, I set an env variable as > > setenv TIER hi > > > Can anybody let me know how can I access this variable in the > > template. > > I tried to use a bunch of expressions like > > {% request.meta["TIER"] %} or > > {% request.environ[TIER] %} but they do not return anything. > > > Any help will be greatly appreciated. > > > Thanks, > > Sincerely, > > Sonal. -- 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=en.

