app/django/templatetags/__init__.py
author Lennard de Rijk <ljvderijk@gmail.com>
Sun, 28 Jun 2009 22:12:33 +0200
changeset 2441 a24b2b4af87d
parent 54 03e267d67478
permissions -rw-r--r--
Added .settings to hgignore. Eclipse IDE uses this map to store some settings. Since this is widely used I decided to add it to the ignore list.

from django.conf import settings

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