打分上传后台
All checks were successful
Deploy to Server / deploy (push) Successful in 16s

This commit is contained in:
jeremygan2021
2026-03-12 13:34:47 +08:00
parent 6129673ddc
commit 1f693e0e8a
15 changed files with 1692 additions and 4 deletions

View File

@@ -4,6 +4,7 @@ from .views import (
CompetitionViewSet, ProjectViewSet, ProjectFileViewSet,
ScoreViewSet, CommentViewSet
)
from . import judge_views
router = DefaultRouter()
router.register(r'competitions', CompetitionViewSet)
@@ -13,5 +14,10 @@ router.register(r'scores', ScoreViewSet, basename='score')
router.register(r'comments', CommentViewSet, basename='comment')
urlpatterns = [
# Judge System Routes
path('admin/', judge_views.admin_entry, name='judge_admin_entry'),
path('judge/', include('competition.judge_urls')), # Sub-routes under /judge/
# Existing API Routes
path('', include(router.urls)),
]