<viennaos/net>
Home
Django
check type of django messages
check type of django messages
from django.contrib import messages
The type of messages in Django can be checked using attributes such as:
messages.DEBUG
messages.INFO
messages.SUCCESS
messages.WARNING
messages.ERROR