Answers for "<django.contrib.messages.storage.fallback.FallbackStorage object at 0x000002CA38B0DD60> message showing up django"

4

django read mesage

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

Code answers related to "&lt;django.contrib.messages.storage.fallback.FallbackStorage object at 0x000002CA38B0DD60&gt; message showing up django"

Python Answers by Framework

Browse Popular Code Answers by Language