Blog Archive for May 13, 2010

Accessing Session from Django Custom Tag

May 13, 2010

I have a website where there are many projects. If you switch between projects, then that change is stored in session and used to render some parts of the top level template, showing links to that project.

In order to do this, I needed to access the Django session from …