add teaching feature

This commit is contained in:
2026-03-08 21:15:46 +08:00
parent 05d46295a0
commit 889380c58e
7 changed files with 281 additions and 1 deletions

View File

@@ -7,12 +7,14 @@ from ..views.oj import (
ContestProblemAPI,
PickOneAPI,
ProblemAuthorAPI,
SimilarProblemAPI,
)
urlpatterns = [
path("problem/tags", ProblemTagAPI.as_view()),
path("problem", ProblemAPI.as_view()),
path("problem/beat_count", ProblemSolvedPeopleCount.as_view()),
path("problem/similar", SimilarProblemAPI.as_view()),
path("problem/author", ProblemAuthorAPI.as_view()),
path("pickone", PickOneAPI.as_view()),
path("contest/problem", ContestProblemAPI.as_view()),