Browse Source

Activate the Locale Middleware

Baptiste Jonglez 10 years ago
parent
commit
7ba267c8f6
1 changed files with 2 additions and 1 deletions
  1. 2 1
      coin/settings.py

+ 2 - 1
coin/settings.py

@@ -118,8 +118,9 @@ TEMPLATE_LOADERS = (
 )
 
 MIDDLEWARE_CLASSES = (
-    'django.middleware.common.CommonMiddleware',
     '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',