Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #16350 -- Forced capitalization in template.

This improves rendering in some foreign languages.
  • Loading branch information...
commit f7d945e325fd8edd0d827e652fb410bb2589de02 1 parent 93cffc3
Aymeric Augustin aaugustin authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/contrib/admin/templates/admin/base.html
2  django/contrib/admin/templates/admin/base.html
View
@@ -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 %}
Please sign in to comment.
Something went wrong with that request. Please try again.