Flatlogic Bot d8fd7aae82 version 2
2026-03-13 01:41:36 +00:00

13 lines
256 B
Python

from django.conf import settings
from django.contrib.messages import constants
def get_level_tags():
"""
Return the message level tags.
"""
return {
**constants.DEFAULT_TAGS,
**getattr(settings, "MESSAGE_TAGS", {}),
}