Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

The admin requires the messages framework, whoops.

  • Loading branch information...
commit 2ec550457a3d4db42ac01f82f4b9fe9aecfcd169 1 parent 6c1ec78
@dracos dracos authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  project/settings.py
View
3  project/settings.py
@@ -166,6 +166,7 @@
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
+ 'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.cache.FetchFromCacheMiddleware',
'mapit.middleware.JSONPMiddleware',
'mapit.middleware.ViewExceptionMiddleware',
@@ -185,6 +186,7 @@
TEMPLATE_CONTEXT_PROCESSORS = (
'django.core.context_processors.request',
'django.contrib.auth.context_processors.auth',
+ 'django.contrib.messages.context_processors.messages',
'mapit.context_processors.country',
'mapit.context_processors.analytics',
)
@@ -192,6 +194,7 @@
INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes',
+ 'django.contrib.messages',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.admin',

0 comments on commit 2ec5504

Please sign in to comment.
Something went wrong with that request. Please try again.