update Django to v5

This commit is contained in:
2024-06-05 17:40:45 +08:00
parent d2dc058af5
commit 6cf7087339
17 changed files with 21 additions and 19 deletions

View File

@@ -2,7 +2,7 @@ from utils.shortcuts import get_env
DATABASES = {
"default": {
"ENGINE": "django.db.backends.postgresql_psycopg2",
"ENGINE": "django.db.backends.postgresql",
"HOST": get_env("POSTGRES_HOST", "oj-postgres"),
"PORT": get_env("POSTGRES_PORT", "5432"),
"NAME": get_env("POSTGRES_DB"),