diff options
author | Dan McGee <dan@archlinux.org> | 2011-08-16 16:30:14 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-08-16 16:30:14 -0500 |
commit | e3ac14389448a73d9f9b8286a25930f3978784fb (patch) | |
tree | bd73279016198fdf7a5b152d68d82cd48a7a9f82 /settings.py | |
parent | b6f86d9ab0d6910f0f70398b07e965d337bd9e78 (diff) |
Settings refreshrelease_2011-08-16
Update a few things in settings.py, but more importantly, update
local_settings.py.template to be more in line with modern Django
settings.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'settings.py')
-rw-r--r-- | settings.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/settings.py b/settings.py index 5cca6047..18437098 100644 --- a/settings.py +++ b/settings.py @@ -84,9 +84,12 @@ MIDDLEWARE_CLASSES = ( ROOT_URLCONF = 'urls' -# Configure where sessions and messages should reside +# Configure where messages should reside MESSAGE_STORAGE = 'django.contrib.messages.storage.session.SessionStorage' + +# Session configuration SESSION_ENGINE = 'django.contrib.sessions.backends.cached_db' +SESSION_COOKIE_HTTPONLY = True INSTALLED_APPS = ( 'django.contrib.auth', |