Browse files

Fixed #16350 -- Forced capitalization in template.

This improves rendering in some foreign languages.
  • Loading branch information...
1 parent 93cffc3 commit f7d945e325fd8edd0d827e652fb410bb2589de02 @aaugustin aaugustin committed Mar 22, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/contrib/admin/templates/admin/base.html
View
2 django/contrib/admin/templates/admin/base.html
@@ -53,7 +53,7 @@
{% block messages %}
{% if messages %}
<ul class="messagelist">{% for message in messages %}
- <li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
+ <li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message|capfirst }}</li>
{% endfor %}</ul>
{% endif %}
{% endblock messages %}

0 comments on commit f7d945e

Please sign in to comment.