Change Summary:
So it turns out that just saying: templatetags_modules = [] isn't enough to wipe out the list in the django.template module. del(templatetags_modules[:]) ought to do the trick. The only reason it seemed to work for me was because my browser had cached an earlier successful request. I've also abstracted out the INSTALLED_APPS.append/remove into their own functions, which protects against accidental re-adds.
Diff: |
Revision 2 (+36 -10) |
---|