marcink on #django made a good point that this isn't a good place for it anyway as you don't want to be applying logic here. However, I was thinking about a BaseContext class to add site vars similar to how garth is doing it w/ templatetags. Doing it with context would allow you to simply import the BaseContext as Context and you wouldn't have to do anything else (like remembering to add the template tag). But this wouldn't be applicable to generics.
- subclassing context and generics scottpierce
- Re: subclassing context and generics scottpierce