diff --git a/django/templatetags/__init__.py b/django/templatetags/__init__.py index 538da5b354..62374577ea 100644 --- a/django/templatetags/__init__.py +++ b/django/templatetags/__init__.py @@ -1,6 +1,6 @@ -from django.conf.settings import INSTALLED_APPS +from django.conf import settings -for a in INSTALLED_APPS: +for a in settings.INSTALLED_APPS: try: __path__.extend(__import__(a + '.templatetags', '', '', ['']).__path__) except ImportError: