@@ 9,9 9,9 @@ import warnings
from six import string_types
# TODO: Don't use wildcards
-from .article import *
-from .pluginbase import *
-from .urlpath import *
+from .article import * # noqa
+from .pluginbase import * # noqa
+from .urlpath import * # noqa
# TODO: Should the below stuff be executed a more logical place?
# Follow Django's default_settings.py / settings.py pattern and put these
@@ 51,7 51,7 @@ if hasattr(django_settings, 'TEMPLATES'):
if len(backends) == 1:
TEMPLATE_CONTEXT_PROCESSORS = backends[0].get('OPTIONS', {}).get('context_processors', [])
-if 'django.contrib.auth.context_processors.auth' not in django_settings.TEMPLATE_CONTEXT_PROCESSORS:
+if 'django.contrib.auth.context_processors.auth' not in TEMPLATE_CONTEXT_PROCESSORS:
raise ImproperlyConfigured(
'django-wiki: needs django.contrib.auth.context_processors.auth in TEMPLATE_CONTEXT_PROCESSORS')
@@ 75,7 75,7 @@ if VERSION < (1, 7):
"django-wiki: No south in your INSTALLED_APPS. This is highly discouraged.")
-from django.core import urlresolvers
+from django.core import urlresolvers # noqa
original_django_reverse = urlresolvers.reverse