mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2025-01-07 13:02:02 +00:00
10 lines
370 B
Python
10 lines
370 B
Python
from django.conf.urls import url
|
|
|
|
from ..views.admin import ProblemAPI, TestCaseUploadAPI, ContestProblemAPI
|
|
|
|
urlpatterns = [
|
|
url(r"^test_case/upload$", TestCaseUploadAPI.as_view(), name="test_case_upload_api"),
|
|
url(r"^problem$", ProblemAPI.as_view(), name="problem_api"),
|
|
url(r"^contest/problem$", ContestProblemAPI.as_view(), name="contest_problem_api")
|
|
]
|