Alerty na czerwono

This commit is contained in:
Klaudia 2021-01-15 11:31:37 +01:00
parent d04a86f750
commit 145fca3cd6

View File

@ -131,3 +131,9 @@ STATIC_URL = '/static/'
STATICFILES_DIRS = [ STATICFILES_DIRS = [
os.path.join(BASE_DIR,'SocialHelper/static') os.path.join(BASE_DIR,'SocialHelper/static')
] ]
from django.contrib.messages import constants as messages
MESSAGE_TAGS = {
messages.ERROR: 'danger',
}