From a7c4f2c9f9c7938b5f64447393f0e15d0610e4c4 Mon Sep 17 00:00:00 2001 From: Patricio Kumagae <pkumagae@boletinoficial.gov.ar> Date: Mon, 21 Jan 2019 13:12:29 -0300 Subject: [PATCH] Tarea #17226 - Cambio de BD --- Poppins/settings.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Poppins/settings.py b/Poppins/settings.py index 073857e..1185eda 100644 --- a/Poppins/settings.py +++ b/Poppins/settings.py @@ -91,12 +91,12 @@ WSGI_APPLICATION = 'Poppins.wsgi.application' DATABASES = { 'default': { - 'ENGINE': 'django.db.backends.sqlite3', - 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), - 'TEST': - { - 'NAME': 'test' - } + 'ENGINE': 'django.db.backends.postgresql_psycopg2', + 'NAME': 'poppins', + 'USER': 'postgres', + 'PASSWORD': 'postgres', + 'HOST': 'localhost', + 'PORT': '5432', } } -- GitLab