Re: Accessing request and session objects from templates

2006-11-07 Thread pength
i think i am facing the same problem with [EMAIL PROTECTED] well, i have done as Jorge suggested, but just don't know how to retriving the my_data in my_template.html. I tried with {{my_data.key}}, though no error occurred, but there's no value appeared --~--~-~--~~~

Re: Accessing request and session objects from templates

2006-11-06 Thread Jorge Gajon
Hi, On 11/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I am wondering if there is a way to access request data and session object > directly from Django templates, in the same way as {{ user }} for instance. > I must admit I'm a bit lost with template context processors and so on... You

Accessing request and session objects from templates

2006-11-04 Thread django-user
Hi, I am wondering if there is a way to access request data and session object directly from Django templates, in the same way as {{ user }} for instance. I must admit I'm a bit lost with template context processors and so on... Thanks for the tip. --~--~-~--~~~---~-