Files
OnlineJudge/conf/urls/admin.py
2026-04-23 13:57:56 -06:00

24 lines
633 B
Python

from django.urls import path
from ..views import (
SMTPAPI,
DashboardInfoAPI,
JudgeServerAPI,
RandomUsernameAPI,
ReleaseNotesAPI,
SMTPTestAPI,
TestCasePruneAPI,
WebsiteConfigAPI,
)
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()),
path("dashboard_info", DashboardInfoAPI.as_view()),
]