Update DB settings for Django v3
This commit is contained in:
+1
-1
@@ -69,7 +69,7 @@ ENABLE_AUTOMATIC_EMAILS = True
|
||||
DB_OPTIONS = {"sslmode": "require"} if os.getenv("DB_SSL", False) == "True" else {}
|
||||
DATABASES = {
|
||||
"default": {
|
||||
"ENGINE": "django.db.backends.postgresql_psycopg2",
|
||||
"ENGINE": "django.db.backends.postgresql",
|
||||
"NAME": os.getenv("DB_NAME", "postgres"),
|
||||
"USER": os.getenv("DB_USER", "postgres"),
|
||||
"PASSWORD": os.getenv("DB_PASSWD", "postgres"),
|
||||
|
||||
Reference in New Issue
Block a user