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 <[email protected]>
---
 frontend/settings.py |    1 +
 1 file changed, 1 insertion(+)

diff --git a/frontend/settings.py b/frontend/settings.py
index 0f5665b..1e39c8c 100644
--- a/frontend/settings.py
+++ b/frontend/settings.py
@@ -92,6 +92,7 @@ TEMPLATE_LOADERS = (
 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',
-- 
1.7.10.2

_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to