summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-09-14 17:41:46 -0500
committerDan McGee <dan@archlinux.org>2010-09-14 17:41:46 -0500
commit6c54cdb9ca72c8745d76fe2d3db11197c9eb104d (patch)
tree5b11fa787195c9b550dabf2ab16f7f7eacbd9f6f
parent1a18ca47716aaa8da9dab27cee08f8b9c0c3356a (diff)
Reorder middleware to be more inline with Django defaults
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--settings.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/settings.py b/settings.py
index 6e98adce..d21ba41c 100644
--- a/settings.py
+++ b/settings.py
@@ -55,12 +55,12 @@ TEMPLATE_LOADERS = (
# http://code.djangoproject.com/ticket/14105
MIDDLEWARE_CLASSES = (
'main.middleware.UpdateCacheMiddleware',
+ 'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
- 'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
+ 'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.http.ConditionalGetMiddleware',
- 'django.middleware.common.CommonMiddleware',
'django.middleware.doc.XViewMiddleware',
'django.middleware.cache.FetchFromCacheMiddleware',
)