|
|
@ -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",
|
|
|
|
|
|
|
|
)
|
|
|
|
|