moved default settings from template to settings_default.py. my fault. sorry :(

This commit is contained in:
Konrad Mohrfeldt 2012-02-06 00:19:08 +01:00
parent 3c0df6aba0
commit e721756121
2 changed files with 33 additions and 34 deletions

View File

@ -79,13 +79,3 @@ if USE_LDAP:
if not SECRET_KEY or SECRET_KEY == '':
from django.core.exceptions import ImproperlyConfigured
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",
)

View File

@ -117,3 +117,12 @@ INSTALLED_APPS = (
'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",
)