Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Get rid of deprecated variables
Adam Bogdała9ee321ee304
diff --git a/saleor/settings.py b/saleor/settings.pyindex f24b850e3c..dd47106cbe 100644--- a/saleor/settings.py+++ b/saleor/settings.py@@ -6,7 +6,6 @@ from django.contrib.messages import constants as messagesDEBUG = ast.literal_eval(os.environ.get('DEBUG', 'True'))-TEMPLATE_DEBUG = DEBUGSITE_ID = 1@@ -81,7 +80,11 @@ if not DEBUG:TEMPLATES = [{'BACKEND': 'django.template.backends.django.DjangoTemplates','DIRS': [os.path.join(PROJECT_ROOT, 'templates')],- 'OPTIONS': {'loaders': loaders, 'context_processors': context_processors}}]+ 'OPTIONS': {+ 'debug': DEBUG,+ 'context_processors': context_processors,+ 'loaders': loaders,+ 'string_if_invalid': '<< MISSING VARIABLE >>'}}]# Make this unique, and don't share it with anybody.SECRET_KEY = os.environ.get('SECRET_KEY', '{{ secret_key }}')@@ -229,8 +232,6 @@ CHECKOUT_PAYMENT_CHOICES = [('default', 'Dummy provider')]-TEMPLATE_STRING_IF_INVALID = '<< MISSING VARIABLE >>'-MESSAGE_TAGS = {messages.ERROR: 'danger',}