settings changes to work with django 1.4

This commit is contained in:
Sanjay B 2014-10-19 00:58:05 +05:30
parent df39a4b2b7
commit e3969b3ef1

View File

@ -112,7 +112,6 @@ USE_I18N = True
MEDIA_ROOT = join(PROJECT_PATH, 'static') MEDIA_ROOT = join(PROJECT_PATH, 'static')
TEMPLATE_CONTEXT_PROCESSORS = ( TEMPLATE_CONTEXT_PROCESSORS = (
"django.core.context_processors.auth",
"django.contrib.auth.context_processors.auth", "django.contrib.auth.context_processors.auth",
"django.core.context_processors.debug", "django.core.context_processors.debug",
"django.core.context_processors.i18n", "django.core.context_processors.i18n",
@ -147,9 +146,9 @@ ADMIN_MEDIA_PREFIX = '/admin/media/'
# List of callables that know how to import templates from various sources. # List of callables that know how to import templates from various sources.
TEMPLATE_LOADERS = ( TEMPLATE_LOADERS = (
'django.template.loaders.filesystem.load_template_source', 'django.template.loaders.filesystem.Loader',
'django.template.loaders.app_directories.load_template_source', 'django.template.loaders.app_directories.Loader',
'django.template.loaders.eggs.load_template_source', 'django.template.loaders.eggs.Loader',
) )
MIDDLEWARE_CLASSES = ( MIDDLEWARE_CLASSES = (