diff --git a/umap/settings/base.py b/umap/settings/base.py index d99ed112..73513c4d 100644 --- a/umap/settings/base.py +++ b/umap/settings/base.py @@ -135,8 +135,13 @@ TEMPLATE_LOADERS = ( # Middleware #============================================================================== -MIDDLEWARE_CLASSES += ( +MIDDLEWARE_CLASSES = ( + 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.locale.LocaleMiddleware', + 'django.middleware.common.CommonMiddleware', + 'django.middleware.csrf.CsrfViewMiddleware', + 'django.contrib.auth.middleware.AuthenticationMiddleware', + 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.http.ConditionalGetMiddleware', )