Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

django messages

from django.contrib.messages import constants as messages
MESSAGE_TAGS = {
    messages.INFO: '',
    50: 'critical',
}
Source by docs.djangoproject.com #
 
PREVIOUS NEXT
Tagged: #django #messages
ADD COMMENT
Topic
Name
9+5 =