X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=apps%2Fsettings.py;h=537c38053aa92163e7cc9c1d5b157f5e54eb42ef;hb=8fd9086f337a09125ddcfaa616e762a4d85c6000;hp=3d929bc32a60bf0b5a6f07a671a6992556810a4e;hpb=22ae63301bcba7022e0503654d895137db1fcd1b;p=patchwork diff --git a/apps/settings.py b/apps/settings.py index 3d929bc..537c380 100644 --- a/apps/settings.py +++ b/apps/settings.py @@ -49,8 +49,8 @@ SECRET_KEY = '00000000000000000000000000000000000000000000000000' # 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.load_template_source', ) @@ -83,7 +83,7 @@ MEDIA_ROOT = os.path.join( ROOT_DIR, 'lib', 'python', 'django', 'contrib', 'admin', 'media') 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") @@ -110,6 +110,10 @@ NOTIFICATION_FROM_EMAIL = DEFAULT_FROM_EMAIL # Set to True to enable the Patchwork XML-RPC interface ENABLE_XMLRPC = False +# set to True to enable redirections or URLs from previous versions +# of patchwork +COMPAT_REDIR = True + try: from local_settings import * except ImportError, ex: