From 2a2f5cb73b2ec09a1610fdfddb93977a2bd17e75 Mon Sep 17 00:00:00 2001 From: Antoine Nguyen Date: Wed, 22 May 2013 18:29:31 +0200 Subject: [PATCH] Adding revision middleware to the default config; see #320 --- modoboa/core/templates/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modoboa/core/templates/settings.py b/modoboa/core/templates/settings.py index 54a900da9..46c5fcf3f 100644 --- a/modoboa/core/templates/settings.py +++ b/modoboa/core/templates/settings.py @@ -112,6 +112,7 @@ MIDDLEWARE_CLASSES = ( 'django.middleware.locale.LocaleMiddleware', # Uncomment the next line for simple clickjacking protection: # 'django.middleware.clickjacking.XFrameOptionsMiddleware', + 'reversion.middleware.RevisionMiddleware', 'modoboa.lib.middleware.AjaxLoginRedirect', 'modoboa.lib.middleware.CommonExceptionCatcher',