From a44f72a03027ba0835eb5a356db3170cbf847e20 Mon Sep 17 00:00:00 2001 From: Vegetto Date: Sat, 20 Feb 2021 16:42:48 +0100 Subject: [PATCH] Add DB_OPTIONS to enable DBs with SSL --- recipes/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes/settings.py b/recipes/settings.py index 3105c67f1..1c56f5dfe 100644 --- a/recipes/settings.py +++ b/recipes/settings.py @@ -175,6 +175,7 @@ WSGI_APPLICATION = 'recipes.wsgi.application' DATABASES = { 'default': { 'ENGINE': os.getenv('DB_ENGINE') if os.getenv('DB_ENGINE') else 'django.db.backends.sqlite3', + 'OPTIONS': os.getenv('DB_OPTIONS') if os.getenv('DB_OPTIONS') else [], 'HOST': os.getenv('POSTGRES_HOST'), 'PORT': os.getenv('POSTGRES_PORT'), 'USER': os.getenv('POSTGRES_USER'),