Skip to content

Commit

Permalink
frontend.settings: Add MessageMiddleware among the middleware classes
Browse files Browse the repository at this point in the history
So we can effectively show up popup messages in the Django
admin view. As this class was introduced in 1.2, this change
should also allow to use Django 1.3 as a supported dep.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
  • Loading branch information
lmr committed Jun 5, 2012
1 parent 02c96af commit 1660abb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ def _get_config(config_key, default=None):
MIDDLEWARE_CLASSES = (
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'frontend.apache_auth.ApacheAuthMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.middleware.doc.XViewMiddleware',
Expand Down

0 comments on commit 1660abb

Please sign in to comment.