remove message.warning messages from django code example
Example 1: django messages
from django.contrib import messages
messages.add_message(request, messages.INFO, 'Hello world.')
Example 2: django message framework
{% 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 %}