Permalink
Browse files

The admin requires the messages framework, whoops.

  • Loading branch information...
1 parent 6c1ec78 commit 2ec550457a3d4db42ac01f82f4b9fe9aecfcd169 @dracos dracos committed Dec 9, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 project/settings.py
View
@@ -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,13 +186,15 @@
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',
)
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.