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 wrote:
> I mean to say {{ request.meta["TIER"] }}
>
> On Feb 4, 9:25 am, Sonal Breed wrote:
>
> > Hi all,
> > In my default
If you are using render_to_response, you will need to explicitly send request
in the dictionary of items going to the template.
Also, variable access in Django templates is done with the {{ and }} enclosure,
and uses all dots (.) for separators. I have never tried to directly access
something o
I mean to say {{ request.meta["TIER"] }}
On Feb 4, 9:25 am, Sonal Breed 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.
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 b
4 matches
Mail list logo