app/django/templatetags/__init__.py
author Lennard de Rijk <ljvderijk@gmail.com>
Fri, 03 Apr 2009 10:36:57 +0000
changeset 2064 031406b4789d
parent 54 03e267d67478
permissions -rw-r--r--
Returning a JSON response on successfully storing the found duplicates. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed

from django.conf import settings

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