From e9e5c958a5af0352bd88ac4e5c7d120c8f3d06bf Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Mon, 23 Dec 2013 17:47:29 +0100 Subject: [PATCH] Add ConditionalGetMiddleware --- umap/settings/base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/umap/settings/base.py b/umap/settings/base.py index fc3d2dd3..e263f471 100644 --- a/umap/settings/base.py +++ b/umap/settings/base.py @@ -130,6 +130,7 @@ TEMPLATE_CONTEXT_PROCESSORS += ( MIDDLEWARE_CLASSES += ( 'django.middleware.locale.LocaleMiddleware', + 'django.middleware.http.ConditionalGetMiddleware', ) #==============================================================================