Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
  • Loading branch information...
commit 4175e3d104b46459545809690cdd456bc65d8be8 1 parent 1286d78
@spookylukey spookylukey authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 django/contrib/admin/templates/admin/base.html
View
4 django/contrib/admin/templates/admin/base.html
@@ -55,11 +55,13 @@
{% block breadcrumbs %}<div class="breadcrumbs"><a href="/">{% trans 'Home' %}</a>{% if title %} &rsaquo; {{ title }}{% endif %}</div>{% endblock %}
{% endif %}
+ {% block messages %}
{% if messages %}
<ul class="messagelist">{% for message in messages %}
<li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
- {% endfor %}</ul>
+ {% endfor %}</ul>
{% endif %}
+ {% endblock messages %}
<!-- Content -->
<div id="content" class="{% block coltype %}colM{% endblock %}">

0 comments on commit 4175e3d

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