From 4175e3d104b46459545809690cdd456bc65d8be8 Mon Sep 17 00:00:00 2001 From: Luke Plant Date: Tue, 19 Apr 2011 22:26:50 +0000 Subject: [PATCH] Fixed #10917 - admin/base.html should contain messages block Thanks to Philomat/julien for the patch git-svn-id: http://code.djangoproject.com/svn/django/trunk@16046 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/admin/templates/admin/base.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/django/contrib/admin/templates/admin/base.html b/django/contrib/admin/templates/admin/base.html index 87f6c8738d..cc1f22c4c3 100644 --- a/django/contrib/admin/templates/admin/base.html +++ b/django/contrib/admin/templates/admin/base.html @@ -55,11 +55,13 @@ {% block breadcrumbs %}{% endblock %} {% endif %} + {% block messages %} {% if messages %} + {% endfor %} {% endif %} + {% endblock messages %}