Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Override default cache
Adam Bogdał567010fac601
diff --git a/saleor/settings.py b/saleor/settings.pyindex ba2b4c9d81..2aa9d1531f 100644--- a/saleor/settings.py+++ b/saleor/settings.py@@ -28,10 +28,9 @@ INTERNAL_IPS = os.environ.get('INTERNAL_IPS', '127.0.0.1').split()CACHES = {'default': django_cache_url.config()}if os.environ.get('REDIS_URL'):- CACHES = {- 'default': {- 'BACKEND': 'django_redis.cache.RedisCache',- 'LOCATION': os.environ.get('REDIS_URL')}}+ CACHES['default'] = {+ 'BACKEND': 'django_redis.cache.RedisCache',+ 'LOCATION': os.environ.get('REDIS_URL')}SQLITE_DB_URL = 'sqlite:///' + os.path.join(PROJECT_ROOT, 'dev.sqlite')DATABASES = {'default': dj_database_url.config(default=SQLITE_DB_URL)}