mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-06-17 11:10:23 +00:00
Fix issue with styling of error messages with bootstrap3
This commit is contained in:
parent
2da8619248
commit
baa9205852
@ -18,6 +18,7 @@
|
||||
|
||||
import argparse
|
||||
import django.conf
|
||||
from django.contrib.messages import constants as message_constants
|
||||
import django.core.management
|
||||
import django.core.wsgi
|
||||
import importlib
|
||||
@ -201,6 +202,7 @@ def configure_django():
|
||||
LOGIN_URL='users:login',
|
||||
LOGIN_REDIRECT_URL='apps:index',
|
||||
LOGOUT_URL='users:logout',
|
||||
MESSAGE_TAGS={message_constants.ERROR: 'danger'},
|
||||
MIDDLEWARE_CLASSES=(
|
||||
'django.contrib.sessions.middleware.SessionMiddleware',
|
||||
'django.middleware.common.CommonMiddleware',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user