Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Change messages tag for error

Marcin Gębalae0e04373f3b5
diff --git a/saleor/settings.py b/saleor/settings.py
index bcf5518167..3139397967 100644
--- a/saleor/settings.py
+++ b/saleor/settings.py
@@ -1,5 +1,8 @@
import os.path
+from django.contrib.messages import constants as messages
+
+
DEBUG = True
TEMPLATE_DEBUG = DEBUG
@@ -221,3 +224,7 @@ CHECKOUT_PAYMENT_CHOICES = [
]
TEMPLATE_STRING_IF_INVALID = '<< MISSING VARIABLE >>'
+
+MESSAGE_TAGS = {
+ messages.ERROR: 'danger',
+}