mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2025-01-01 01:52:02 +00:00
11 lines
519 B
Python
11 lines
519 B
Python
from django.conf.urls import url
|
|
|
|
from ..views.oj import SubmissionAPI, SubmissionListAPI, ContestSubmissionListAPI, SubmissionExistsAPI
|
|
|
|
urlpatterns = [
|
|
url(r"^submission/?$", SubmissionAPI.as_view(), name="submission_api"),
|
|
url(r"^submissions/?$", SubmissionListAPI.as_view(), name="submission_list_api"),
|
|
url(r"^submission_exists/?$", SubmissionExistsAPI.as_view(), name="submission_exists"),
|
|
url(r"^contest_submissions/?$", ContestSubmissionListAPI.as_view(), name="contest_submission_list_api"),
|
|
]
|