app/django/templatetags/__init__.py
author Sverre Rabbelier <srabbelier@gmail.com>
Sat, 28 Feb 2009 12:10:49 +0000
changeset 1555 cba45797f4b9
parent 54 03e267d67478
permissions -rw-r--r--
Do not modify django_args directly This broke document listing since it used kwargs as filter. Patch by: Sverre Rabbelier

from django.conf import settings

for a in settings.INSTALLED_APPS:
    try:
        __path__.extend(__import__(a + '.templatetags', {}, {}, ['']).__path__)
    except ImportError:
        pass