Discussion:
[SCM] UNNAMED PROJECT branch, master, updated. 519c725f639e44fc159f90626926211ac4ee6c80
Michal Cihar
2012-04-02 09:56:55 UTC
Permalink
The following commit has been merged in the master branch:
commit 519c725f639e44fc159f90626926211ac4ee6c80
Author: Michal Čihař <***@cihar.com>
Date: Mon Apr 2 11:56:25 2012 +0200

Update middleware list

diff --git a/settings.py b/settings.py
index ac5bc11..7e0d2d4 100644
--- a/settings.py
+++ b/settings.py
@@ -29,6 +29,8 @@ WEB_ROOT = os.path.dirname(os.path.abspath(__file__))
# Local time zone for this installation. Choices can be found here:
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
# although not all choices may be available on all operating systems.
+# On Unix systems, a value of None will cause Django to use the same
+# timezone as the operating system.
# If running in a Windows environment this must be set to the same as your
# system time zone.
TIME_ZONE = 'Europe/Prague'
@@ -103,8 +105,9 @@ MIDDLEWARE_CLASSES = (
'django.middleware.common.CommonMiddleware',
# 'django.middleware.cache.FetchFromCacheMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
- 'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
+ 'django.contrib.auth.middleware.AuthenticationMiddleware',
+ 'django.contrib.messages.middleware.MessageMiddleware',
)

ROOT_URLCONF = 'urls'
--
UNNAMED PROJECT
Loading...