From 2016b22a3f028a6147111d0c3c66cd9147bcce28 Mon Sep 17 00:00:00 2001 From: "M.Ravi" Date: Wed, 6 Dec 2023 20:42:06 +0530 Subject: [PATCH] Use postgresql --- dynamicweb2/settings.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/dynamicweb2/settings.py b/dynamicweb2/settings.py index 4f45908..4acc0f5 100644 --- a/dynamicweb2/settings.py +++ b/dynamicweb2/settings.py @@ -104,9 +104,13 @@ WSGI_APPLICATION = 'dynamicweb2.wsgi.application' DATABASES = { 'default': { - 'ENGINE': 'django.db.backends.sqlite3', - 'NAME': BASE_DIR / 'db.sqlite3', + 'ENGINE': 'django.db.backends.postgresql_psycopg2', + 'NAME': 'app', } + # 'default': { + # 'ENGINE': 'django.db.backends.sqlite3', + # 'NAME': BASE_DIR / 'db.sqlite3', + # } }