diff --git a/euscanwww/settings.py b/euscanwww/settings.py index 5fb7165..04b3557 100644 --- a/euscanwww/settings.py +++ b/euscanwww/settings.py @@ -107,7 +107,7 @@ MIDDLEWARE_CLASSES = ( 'django.middleware.cache.FetchFromCacheMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', - 'django.middleware.csrf.CsrfViewMiddleware', +# 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', ) @@ -122,6 +122,16 @@ TEMPLATE_DIRS = ( os.path.join(EUSCAN_ROOT, 'templates'), ) +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", +) + INSTALLED_APPS = ( 'django.contrib.auth', 'django.contrib.contenttypes',