This commit is contained in:
2025-09-25 13:50:42 +08:00
parent 4bbeee2ea4
commit 6bb25ad807

View File

@@ -6,8 +6,8 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
DATABASES = { DATABASES = {
"default": { "default": {
"ENGINE": "django.db.backends.postgresql", "ENGINE": "django.db.backends.postgresql",
"HOST": "150.158.29.156", "HOST": "10.13.114.114",
"PORT": "5432", "PORT": "5433",
"NAME": "onlinejudge", "NAME": "onlinejudge",
"USER": "onlinejudge", "USER": "onlinejudge",
"PASSWORD": "onlinejudge", "PASSWORD": "onlinejudge",
@@ -15,7 +15,7 @@ DATABASES = {
} }
REDIS_CONF = { REDIS_CONF = {
"host": "150.158.29.156", "host": "10.13.114.114",
"port": 6379, "port": 6379,
} }