mirror of https://github.com/django/django.git
Fixed #16350 -- Forced capitalization in template.
This improves rendering in some foreign languages.
This commit is contained in:
parent
93cffc3b37
commit
f7d945e325
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue