From 145fca3cd630ba37a750abec0306960f3c6b069d Mon Sep 17 00:00:00 2001 From: Klaudia Date: Fri, 15 Jan 2021 11:31:37 +0100 Subject: [PATCH] Alerty na czerwono --- SocialHelper/SocialHelper/settings.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/SocialHelper/SocialHelper/settings.py b/SocialHelper/SocialHelper/settings.py index fbc6b78..5cb9ba6 100644 --- a/SocialHelper/SocialHelper/settings.py +++ b/SocialHelper/SocialHelper/settings.py @@ -131,3 +131,9 @@ STATIC_URL = '/static/' STATICFILES_DIRS = [ os.path.join(BASE_DIR,'SocialHelper/static') ] + + +from django.contrib.messages import constants as messages +MESSAGE_TAGS = { + messages.ERROR: 'danger', +}