20 lines
521 B
Python
20 lines
521 B
Python
from django.urls import path
|
|
|
|
from ..views.oj import (
|
|
ProblemSolvedPeopleCount,
|
|
ProblemTagAPI,
|
|
ProblemAPI,
|
|
ContestProblemAPI,
|
|
PickOneAPI,
|
|
ProblemAuthorAPI,
|
|
)
|
|
|
|
urlpatterns = [
|
|
path("problem/tags", ProblemTagAPI.as_view()),
|
|
path("problem", ProblemAPI.as_view()),
|
|
path("problem/beat_count", ProblemSolvedPeopleCount.as_view()),
|
|
path("problem/author", ProblemAuthorAPI.as_view()),
|
|
path("pickone", PickOneAPI.as_view()),
|
|
path("contest/problem", ContestProblemAPI.as_view()),
|
|
]
|