Commit a59e30bd authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

astakos: Update django requirements in synnefo settings

since session and messages middleware classes removed from webproject we should
explicitly set them on astakos settings.
parent f8dc605e
...@@ -67,11 +67,13 @@ context_processors = [ ...@@ -67,11 +67,13 @@ context_processors = [
] ]
middlware_classes = [ middlware_classes = [
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware',
'astakos.im.middleware.CookieAuthenticationMiddleware', 'astakos.im.middleware.CookieAuthenticationMiddleware',
'synnefo.lib.middleware.LoggingConfigMiddleware', 'synnefo.lib.middleware.LoggingConfigMiddleware',
'synnefo.lib.middleware.SecureMiddleware', 'synnefo.lib.middleware.SecureMiddleware',
'django.middleware.csrf.CsrfViewMiddleware', 'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
# 'debug_toolbar.middleware.DebugToolbarMiddleware', # 'debug_toolbar.middleware.DebugToolbarMiddleware',
] ]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment