Am Donnerstag, den 12.07.2007, 10:46 +0800 schrieb Russell Keith-Magee: > On 7/12/07, Martin Kaffanke <[EMAIL PROTECTED]> wrote: > > At the moment I use on some places a > > > > {'session': request.session} for the Context to render the template. > > How Can I make the session automaticaly available in the base template, > > without having to be aware that I don't forgett this parameter for the > > Context? > > Install the request context processor. In your settings file, define > > TEMPLATE_CONTEXT_PROCESSORS = ( > 'django.core.context_processors.auth', > 'django.core.context_processors.debug', > 'django.core.context_processors.i18n', > 'django.core.context_processors.media', > 'django.core.context_processors.request', > )
thanks, this really helps me. Martin
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil