moved default settings from template to settings_default.py. my fault. sorry :(
This commit is contained in:
parent
3c0df6aba0
commit
e721756121
|
@ -79,13 +79,3 @@ if USE_LDAP:
|
||||||
if not SECRET_KEY or SECRET_KEY == '':
|
if not SECRET_KEY or SECRET_KEY == '':
|
||||||
from django.core.exceptions import ImproperlyConfigured
|
from django.core.exceptions import ImproperlyConfigured
|
||||||
raise ImproperlyConfigured("Please set a SECRET_KEY in your settings.py")
|
raise ImproperlyConfigured("Please set a SECRET_KEY in your settings.py")
|
||||||
|
|
||||||
TEMPLATE_CONTEXT_PROCESSORS = (
|
|
||||||
"django.contrib.auth.context_processors.auth",
|
|
||||||
"django.core.context_processors.debug",
|
|
||||||
"django.core.context_processors.i18n",
|
|
||||||
"django.core.context_processors.media",
|
|
||||||
"django.core.context_processors.static",
|
|
||||||
"django.contrib.messages.context_processors.messages",
|
|
||||||
"django.core.context_processors.request",
|
|
||||||
)
|
|
|
@ -117,3 +117,12 @@ INSTALLED_APPS = (
|
||||||
'easy_thumbnails',
|
'easy_thumbnails',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
TEMPLATE_CONTEXT_PROCESSORS = (
|
||||||
|
"django.contrib.auth.context_processors.auth",
|
||||||
|
"django.core.context_processors.debug",
|
||||||
|
"django.core.context_processors.i18n",
|
||||||
|
"django.core.context_processors.media",
|
||||||
|
"django.core.context_processors.static",
|
||||||
|
"django.contrib.messages.context_processors.messages",
|
||||||
|
"django.core.context_processors.request",
|
||||||
|
)
|
Loading…
Reference in New Issue