Fixes missing CSS on error alerts.
This commit is contained in:
parent
1799497c2f
commit
0b66c1c484
1 changed files with 7 additions and 0 deletions
|
|
@ -13,6 +13,7 @@ always be sure of what you have changed and what is default behaviour.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
from builtins import range
|
from builtins import range
|
||||||
|
from django.contrib.messages import constants as messages
|
||||||
from django.urls import reverse_lazy
|
from django.urls import reverse_lazy
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
@ -828,6 +829,12 @@ AUTH_USERNAME_VALIDATORS = [
|
||||||
# Use a custom test runner that just tests Evennia-specific apps.
|
# Use a custom test runner that just tests Evennia-specific apps.
|
||||||
TEST_RUNNER = 'evennia.server.tests.EvenniaTestSuiteRunner'
|
TEST_RUNNER = 'evennia.server.tests.EvenniaTestSuiteRunner'
|
||||||
|
|
||||||
|
# Messages and Bootstrap don't classify events the same way; this setting maps
|
||||||
|
# messages.error() to Bootstrap 'danger' classes.
|
||||||
|
MESSAGE_TAGS = {
|
||||||
|
messages.ERROR: 'danger',
|
||||||
|
}
|
||||||
|
|
||||||
######################################################################
|
######################################################################
|
||||||
# Django extensions
|
# Django extensions
|
||||||
######################################################################
|
######################################################################
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue