Got basic webpage working. Need to make base page, static folders
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
from django.conf import settings
|
||||
from django.contrib.messages import constants
|
||||
|
||||
|
||||
def get_level_tags():
|
||||
"""
|
||||
Return the message level tags.
|
||||
"""
|
||||
level_tags = constants.DEFAULT_TAGS.copy()
|
||||
level_tags.update(getattr(settings, 'MESSAGE_TAGS', {}))
|
||||
return level_tags
|
||||
Reference in New Issue
Block a user