Browse Source

adapt settings for Django 1.4

Natenom/support-murmur-13-1446181288462
Michael Ziegler 13 years ago
parent
commit
0720106f09
  1. 7
      pyweb/settings.py

7
pyweb/settings.py

@ -230,8 +230,9 @@ except NameError:
# List of callables that know how to import templates from various sources.
TEMPLATE_LOADERS = (
'django.template.loaders.filesystem.load_template_source',
'django.template.loaders.app_directories.load_template_source',
'django.template.loaders.filesystem.Loader',
'django.template.loaders.app_directories.Loader',
# 'django.template.loaders.eggs.Loader',
)
MIDDLEWARE_CLASSES = (
@ -257,7 +258,7 @@ TEMPLATE_DIRS.extend((
))
TEMPLATE_CONTEXT_PROCESSORS = [
"django.core.context_processors.auth",
"django.contrib.auth.context_processors.auth",
"django.core.context_processors.debug",
"django.core.context_processors.i18n",
"django.core.context_processors.media",

Loading…
Cancel
Save