Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

from django.contrib import messages

{% if messages %}
    {% for message in messages %}
    <p id="messages">{{message}}</p>
    {% endfor %}
{% endif %}
 
PREVIOUS NEXT
Tagged: #import #messages
ADD COMMENT
Topic
Name
9+1 =