From b458df7647dc47cffac77ea7f75f28f450a4059e Mon Sep 17 00:00:00 2001 From: arthurfonsecaa Date: Mon, 10 Jun 2024 14:28:22 -0300 Subject: [PATCH] =?UTF-8?q?configura=C3=A7=C3=B5es=20da=20settings:=20rend?= =?UTF-8?q?er?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DrivePlanSite/DrivePlanSite/settings.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/DrivePlanSite/DrivePlanSite/settings.py b/DrivePlanSite/DrivePlanSite/settings.py index 954a0c6..0cc333e 100644 --- a/DrivePlanSite/DrivePlanSite/settings.py +++ b/DrivePlanSite/DrivePlanSite/settings.py @@ -76,8 +76,12 @@ DATABASES = { 'default': { - 'ENGINE': 'django.db.backends.sqlite3', - 'NAME': BASE_DIR / 'db.sqlite3', + 'ENGINE': 'django.db.backends.postgresql_psycopg2', + 'NAME': 'driverplan_db', + 'USER': 'admin', + 'PASSWORD': 'kYDTjmsG8b2D8t1jycIhFZkjPBKYlpTw', + 'HOST': 'dpg-cpjii2acn0vc73ampkg0-a.oregon-postgres.render.com', + 'PORT': '5432', } }