use bootstrap alert classes for messages
This commit is contained in:
parent
f0c8336708
commit
d921acd686
2 changed files with 10 additions and 9 deletions
|
@ -273,10 +273,10 @@ INSTALLED_APPS = DJANGO_APPS + ALLAUTH_APPS + LOCAL_APPS
|
|||
|
||||
MESSAGE_TAGS = {
|
||||
messages.DEBUG: '',
|
||||
messages.ERROR: 'text-danger',
|
||||
messages.INFO: 'text-info',
|
||||
messages.SUCCESS: 'text-success',
|
||||
messages.WARNING: 'text-warning',
|
||||
messages.ERROR: 'alert-danger',
|
||||
messages.INFO: 'alert-info',
|
||||
messages.SUCCESS: 'alert-success',
|
||||
messages.WARNING: 'alert-warning',
|
||||
}
|
||||
########## END APP CONFIGURATION
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue