0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00

Fixed #16350 -- Forced capitalization in template.

This improves rendering in some foreign languages.
This commit is contained in:
Aymeric Augustin 2013-03-22 22:40:12 +01:00
parent 93cffc3b37
commit f7d945e325

View File

@ -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 %}