From 13d498658cf103dc487e6e5d90a827c49075f458 Mon Sep 17 00:00:00 2001 From: vabene1111 Date: Mon, 19 Sep 2022 07:34:26 +0200 Subject: [PATCH] fixed DB setting --- recipes/settings.py | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/recipes/settings.py b/recipes/settings.py index a453ab9e..5676fe0a 100644 --- a/recipes/settings.py +++ b/recipes/settings.py @@ -322,17 +322,17 @@ else: } # Local testing DB -DATABASES = { - 'default': { - 'ENGINE': 'django.db.backends.postgresql', - 'HOST': 'localhost', - 'PORT': 5432, - 'USER': 'postgres', - 'PASSWORD': 'postgres', # set to local pw - 'NAME': 'tandoor_app', - 'CONN_MAX_AGE': 600, - } -} +# DATABASES = { +# 'default': { +# 'ENGINE': 'django.db.backends.postgresql', +# 'HOST': 'localhost', +# 'PORT': 5432, +# 'USER': 'postgres', +# 'PASSWORD': 'postgres', # set to local pw +# 'NAME': 'tandoor_app', +# 'CONN_MAX_AGE': 600, +# } +# } # SQLite testing DB # DATABASES = {