diff --git a/backend/requirements.txt b/backend/requirements.txt index b071abf..b955bfb 100644 --- a/backend/requirements.txt +++ b/backend/requirements.txt @@ -1 +1,2 @@ -Django==3.2.8 \ No newline at end of file +Django==3.2.8 +psycopg2-binary>=2.8 diff --git a/backend/right_tree/settings.py b/backend/right_tree/settings.py index 93723ab..f41437d 100644 --- a/backend/right_tree/settings.py +++ b/backend/right_tree/settings.py @@ -75,8 +75,12 @@ WSGI_APPLICATION = 'right_tree.wsgi.application' DATABASES = { 'default': { - 'ENGINE': 'django.db.backends.sqlite3', - 'NAME': BASE_DIR / 'db.sqlite3', + 'ENGINE': 'django.db.backends.postgresql', + 'NAME': 'right_tree', + 'USER': 'postgres', + 'PASSWORD': 'postgres', + 'HOST': 'postgres', + 'PORT': 5432, } }