Re: Accessing session variables in templates

2006-10-12 Thread patrickk
I didnĀ“t try that, but with a combination of the following it should work: http://www.djangoproject.com/documentation/request_response/#attributes http://www.djangoproject.com/documentation/templates_python/#django- core-context-processors-request patrick Am 12.10.2006 um 19:21 schrieb Patr

Accessing session variables in templates

2006-10-12 Thread Patrick J. Anderson
Hi! I have a member_id session variable, which I set at login (it is different than "user"). I need to check that variable in my templates to display member-specific navigation. How can I check do this? Or do I need to do the checking in each view function and pass the value in a template va