From 0b69bcddcc684dd04090cfc3a18befbd1ce821cf Mon Sep 17 00:00:00 2001 From: vabene1111 Date: Mon, 19 Sep 2022 07:13:09 +0200 Subject: [PATCH] downgrade django to fix DRF --- recipes/settings.py | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/recipes/settings.py b/recipes/settings.py index 5676fe0a..a453ab9e 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 = {