On Wed, 11 Jul 2007, Martin Kaffanke wrote: > Hi there! > > How can I configure django to put the session (request.session) in all > templates? > > I want to put a 'Hello Username' for logged in Users, and I want to do a > dynamic login/logout button into the menu, depends on if there is a > logged in user or not. > > Thanks, > Martin >
Extend your templates from a common base, with the session info in the base. -Simon -- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---