班级抽签

This commit is contained in:
2025-04-14 14:15:17 +08:00
parent 450ee800f3
commit 8ed6b319c5
2 changed files with 119 additions and 45 deletions

View File

@@ -1,12 +1,21 @@
from django.urls import path
from ..views import SMTPAPI, JudgeServerAPI, WebsiteConfigAPI, TestCasePruneAPI, SMTPTestAPI
from ..views import ReleaseNotesAPI, DashboardInfoAPI
from ..views import (
SMTPAPI,
JudgeServerAPI,
WebsiteConfigAPI,
TestCasePruneAPI,
SMTPTestAPI,
ReleaseNotesAPI,
DashboardInfoAPI,
RandomUsernameAPI,
)
urlpatterns = [
path("smtp", SMTPAPI.as_view()),
path("smtp_test", SMTPTestAPI.as_view()),
path("website", WebsiteConfigAPI.as_view()),
path("random_user", RandomUsernameAPI.as_view()),
path("judge_server", JudgeServerAPI.as_view()),
path("prune_test_case", TestCasePruneAPI.as_view()),
path("versions", ReleaseNotesAPI.as_view()),