2017-01-25 08:29:00 +00:00
|
|
|
from django.conf.urls import url
|
|
|
|
|
2017-11-14 13:06:33 +00:00
|
|
|
from ..views.admin import ContestProblemAPI, ProblemAPI, TestCaseAPI, MakeContestProblemPublicAPIView
|
2017-11-16 14:12:17 +00:00
|
|
|
from ..views.admin import CompileSPJAPI
|
2017-01-25 08:29:00 +00:00
|
|
|
|
|
|
|
urlpatterns = [
|
2017-11-14 13:06:33 +00:00
|
|
|
url(r"^test_case/?$", TestCaseAPI.as_view(), name="test_case_api"),
|
2017-11-16 14:12:17 +00:00
|
|
|
url(r"^compile_spj/?$", CompileSPJAPI.as_view(), name="compile_spj"),
|
2017-05-01 05:20:26 +00:00
|
|
|
url(r"^problem/?$", ProblemAPI.as_view(), name="problem_admin_api"),
|
2017-07-18 03:18:18 +00:00
|
|
|
url(r"^contest/problem/?$", ContestProblemAPI.as_view(), name="contest_problem_admin_api"),
|
2017-11-02 13:37:47 +00:00
|
|
|
url(r"^contest_problem/make_public/?$", MakeContestProblemPublicAPIView.as_view(), name="make_public_api"),
|
2017-01-25 08:29:00 +00:00
|
|
|
]
|