--
Gustavo Henrique
Site: http://www.gustavohenrique.net
Blog: http://blog.gustavohenrique.net
Django doesn't have "generic templates" (only generic views), and if
you don't provide the request to the template engine, it'll have a
pretty hard time getting the session without using magic.
Magic is bad.
If you want the session in your template context, either use generic
views, use RequestContext (with the Request context_processor enabled)
in your views or create your own context.
And I'm pretty sure you won't find it. Templatetags can't be magically
aware of "the request".