Use postgresql

This commit is contained in:
M.Ravi 2023-12-06 20:42:06 +05:30
parent d3abf02912
commit 2016b22a3f

View file

@ -104,9 +104,13 @@ WSGI_APPLICATION = 'dynamicweb2.wsgi.application'
DATABASES = { DATABASES = {
'default': { 'default': {
'ENGINE': 'django.db.backends.sqlite3', 'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': BASE_DIR / 'db.sqlite3', 'NAME': 'app',
} }
# 'default': {
# 'ENGINE': 'django.db.backends.sqlite3',
# 'NAME': BASE_DIR / 'db.sqlite3',
# }
} }