app/django/templatetags/__init__.py
author Lennard de Rijk <ljvderijk@gmail.com>
Sun, 01 Feb 2009 22:35:35 +0000
changeset 1164 d0e14654431a
parent 54 03e267d67478
permissions -rw-r--r--
User profile now shows the time on which you signed the ToS. Note that this solution is temporary and a hidden_field_as_table_row will be made by Pawel soon. 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