Answers for "django alerts"

2

django read mesage

{% if messages %}
<ul class="messages">
    {% for message in messages %}
    <li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
    {% endfor %}
</ul>
{% endif %}
Posted by: Guest on April-15-2020

Python Answers by Framework

Browse Popular Code Answers by Language