diff options
Diffstat (limited to 'webapp/django/templatetags/__init__.py')
-rw-r--r-- | webapp/django/templatetags/__init__.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/webapp/django/templatetags/__init__.py b/webapp/django/templatetags/__init__.py new file mode 100644 index 0000000000..9204535abb --- /dev/null +++ b/webapp/django/templatetags/__init__.py @@ -0,0 +1,7 @@ +from django.conf import settings + +for a in settings.INSTALLED_APPS: + try: + __path__.extend(__import__(a + '.templatetags', {}, {}, ['']).__path__) + except ImportError: + pass |