app/django/templatetags/__init__.py
author Pawel Solyga <Pawel.Solyga@gmail.com>
Tue, 04 Nov 2008 20:06:36 +0000
changeset 442 92c17629af0e
parent 54 03e267d67478
permissions -rw-r--r--
Fix wrong redirect when changing partial path or link name. Remove an unnecessary assignment in logic/models/base.py that would generate an error when an entity did not exist. Patch by: Lennard de Rijk Review by: Pawel Solyga

from django.conf import settings

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