新增AI分析

This commit is contained in:
2025-09-24 01:02:29 +08:00
parent aba908c0aa
commit 6e1e3ef0c6
16 changed files with 790 additions and 65 deletions

View File

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

View File

@@ -19,4 +19,5 @@ urlpatterns = [
path("api/admin/", include("comment.urls.admin")),
path("api/", include("tutorial.urls.tutorial")),
path("api/admin/", include("tutorial.urls.admin")),
path("api/", include("ai.urls.oj")),
]