Revert back dev configuration

This commit is contained in:
PCoder 2024-05-22 22:25:54 +05:30
parent d24fcd7d86
commit c18fb883cc

View file

@ -17,20 +17,10 @@ BASE_URL = 'http://localhost:8000'
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
#DATABASES = {
# 'default': {
# 'ENGINE': 'django.db.backends.sqlite3',
# 'NAME': 'publichealth-dev.sqlite3',
# }
#}
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'publichealth',
'CONN_MAX_AGE': 600, # number of seconds database connections should persist for
# User, host and port can be configured by the PGUSER, PGHOST and
# PGPORT environment variables (these get picked up by libpq).
'ENGINE': 'django.db.backends.sqlite3',
'NAME': 'publichealth-dev.sqlite3',
}
}