Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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 %}
Source by docs.djangoproject.com #
 
PREVIOUS NEXT
Tagged: #django #read #mesage
ADD COMMENT
Topic
Name
1+3 =