Example #1
0
     ProblemAdminAPIView.as_view(),
     name="problem_admin_api"),
 url(r'^api/admin/contest_problem/$',
     ContestProblemAdminAPIView.as_view(),
     name="contest_problem_admin_api"),
 url(r'^api/admin/contest_problem/public/',
     MakeContestProblemPublicAPIView.as_view(),
     name="make_contest_problem_public"),
 url(r'^api/admin/test_case_upload/$',
     TestCaseUploadAPIView.as_view(),
     name="test_case_upload_api"),
 url(r'^api/admin/tag/$',
     ProblemTagAdminAPIView.as_view(),
     name="problem_tag_admin_api"),
 url(r'^api/admin/join_group_request/$',
     JoinGroupRequestAdminAPIView.as_view(),
     name="join_group_request_admin_api"),
 url(r'^api/admin/submission/$',
     SubmissionAdminAPIView.as_view(),
     name="submission_admin_api_view"),
 url(r'^api/admin/monitor/$',
     QueueLengthMonitorAPIView.as_view(),
     name="queue_length_monitor_api"),
 url(r'^contest/(?P<contest_id>\d+)/problem/(?P<contest_problem_id>\d+)/$',
     "contest.views.contest_problem_page",
     name="contest_problem_page"),
 url(r'^contest/(?P<contest_id>\d+)/problem/(?P<contest_problem_id>\d+)/submissions/$',
     "contest.views.contest_problem_my_submissions_list_page",
     name="contest_problem_my_submissions_list_page"),
 url(r'^contest/(?P<contest_id>\d+)/$',
     "contest.views.contest_page",
Example #2
0
    url(r'^api/admin/upload_image/$', SimditorImageUploadAPIView.as_view(), name="simditor_upload_image"),
    url(r'^api/admin/announcement/$', AnnouncementAdminAPIView.as_view(), name="announcement_admin_api"),
    url(r'^api/admin/contest/$', ContestAdminAPIView.as_view(), name="contest_admin_api"),
    url(r'^api/admin/user/$', UserAdminAPIView.as_view(), name="user_admin_api"),
    url(r'^api/admin/group/$', GroupAdminAPIView.as_view(), name="group_admin_api"),
    url(r'^api/admin/group_member/$', GroupMemberAdminAPIView.as_view(), name="group_member_admin_api"),
    url(r'^api/admin/group/promot_as_admin/$', GroupPrometAdminAPIView.as_view(), name="group_promote_admin_api"),
    

    url(r'^api/admin/problem/$', ProblemAdminAPIView.as_view(), name="problem_admin_api"),
    url(r'^api/admin/contest_problem/$', ContestProblemAdminAPIView.as_view(), name="contest_problem_admin_api"),
    url(r'^api/admin/contest_problem/public/', MakeContestProblemPublicAPIView.as_view(), name="make_contest_problem_public"),
    url(r'^api/admin/test_case_upload/$', TestCaseUploadAPIView.as_view(), name="test_case_upload_api"),
    url(r'^api/admin/tag/$', ProblemTagAdminAPIView.as_view(), name="problem_tag_admin_api"),
    url(r'^api/admin/join_group_request/$', JoinGroupRequestAdminAPIView.as_view(),
        name="join_group_request_admin_api"),
    url(r'^api/admin/submission/$', SubmissionAdminAPIView.as_view(), name="submission_admin_api_view"),
    url(r'^api/admin/monitor/$', QueueLengthMonitorAPIView.as_view(), name="queue_length_monitor_api"),

    url(r'^contest/(?P<contest_id>\d+)/problem/(?P<contest_problem_id>\d+)/$', "contest.views.contest_problem_page",
        name="contest_problem_page"),
    url(r'^contest/(?P<contest_id>\d+)/problem/(?P<contest_problem_id>\d+)/submissions/$',
        "contest.views.contest_problem_my_submissions_list_page",
        name="contest_problem_my_submissions_list_page"),

    url(r'^contest/(?P<contest_id>\d+)/$', "contest.views.contest_page", name="contest_page"),
    url(r'^contest/(?P<contest_id>\d+)/problems/$', "contest.views.contest_problems_list_page",
        name="contest_problems_list_page"),
    url(r'^contest/(?P<contest_id>\d+)/submissions/$', "contest.views.contest_problem_submissions_list_page",
        name="contest_problem_submissions_list_page"),
Example #3
0
    url(r'^api/admin/upload_image/$', SimditorImageUploadAPIView.as_view(), name="simditor_upload_image"),
    url(r'^api/admin/announcement/$', AnnouncementAdminAPIView.as_view(), name="announcement_admin_api"),
    url(r'^api/admin/contest/$', ContestAdminAPIView.as_view(), name="contest_admin_api"),
    url(r'^api/admin/user/$', UserAdminAPIView.as_view(), name="user_admin_api"),
    url(r'^api/admin/group/$', GroupAdminAPIView.as_view(), name="group_admin_api"),
    url(r'^api/admin/group_member/$', GroupMemberAdminAPIView.as_view(), name="group_member_admin_api"),
    url(r'^api/admin/group/promot_as_admin/$', GroupPrometAdminAPIView.as_view(), name="group_promote_admin_api"),

    url(r'^api/admin/problem/$', ProblemAdminAPIView.as_view(), name="problem_admin_api"),
    url(r'^api/admin/contest_problem/$', ContestProblemAdminAPIView.as_view(), name="contest_problem_admin_api"),
    url(r'^api/admin/contest_problem/public/', MakeContestProblemPublicAPIView.as_view(),
        name="make_contest_problem_public"),
    url(r'^api/admin/test_case_upload/$', TestCaseUploadAPIView.as_view(), name="test_case_upload_api"),
    url(r'^api/admin/test_case_download/$', TestCaseDownloadAPIView.as_view(), name="test_case_download_api"),
    url(r'^api/admin/tag/$', ProblemTagAdminAPIView.as_view(), name="problem_tag_admin_api"),
    url(r'^api/admin/join_group_request/$', JoinGroupRequestAdminAPIView.as_view(),
        name="join_group_request_admin_api"),
    url(r'^api/admin/submission/$', SubmissionAdminAPIView.as_view(), name="submission_admin_api_view"),

    url(r'^api/admin/judges/$', AdminJudgeServerAPIView.as_view(), name="judges_admin_api"),

    url(r'^contest/(?P<contest_id>\d+)/problem/(?P<contest_problem_id>\d+)/$', "contest.views.contest_problem_page",
        name="contest_problem_page"),
    url(r'^contest/(?P<contest_id>\d+)/problem/(?P<contest_problem_id>\d+)/submissions/$',
        "contest.views.contest_problem_my_submissions_list_page",
        name="contest_problem_my_submissions_list_page"),

    url(r'^contest/(?P<contest_id>\d+)/$', "contest.views.contest_page", name="contest_page"),
    url(r'^contest/(?P<contest_id>\d+)/problems/$', "contest.views.contest_problems_list_page",
        name="contest_problems_list_page"),
    url(r'^contest/(?P<contest_id>\d+)/submissions/$', "contest.views.contest_problem_submissions_list_page",
Example #4
0
 url(r"^api/contest/password/$", ContestPasswordVerifyAPIView.as_view(), name="contest_password_verify_api"),
 url(r"^api/contest/submission/$", ContestSubmissionAPIView.as_view(), name="contest_submission_api"),
 url(r"^api/submission/$", SubmissionAPIView.as_view(), name="submission_api"),
 url(r"^api/group_join/$", JoinGroupAPIView.as_view(), name="group_join_api"),
 url(r"^api/admin/upload_image/$", SimditorImageUploadAPIView.as_view(), name="simditor_upload_image"),
 url(r"^api/admin/announcement/$", AnnouncementAdminAPIView.as_view(), name="announcement_admin_api"),
 url(r"^api/admin/contest/$", ContestAdminAPIView.as_view(), name="contest_admin_api"),
 url(r"^api/admin/user/$", UserAdminAPIView.as_view(), name="user_admin_api"),
 url(r"^api/admin/group/$", GroupAdminAPIView.as_view(), name="group_admin_api"),
 url(r"^api/admin/group_member/$", GroupMemberAdminAPIView.as_view(), name="group_member_admin_api"),
 url(r"^api/admin/problem/$", ProblemAdminAPIView.as_view(), name="problem_admin_api"),
 url(r"^api/admin/contest_problem/$", ContestProblemAdminAPIView.as_view(), name="contest_problem_admin_api"),
 url(r"^api/admin/test_case_upload/$", TestCaseUploadAPIView.as_view(), name="test_case_upload_api"),
 url(r"^api/admin/tag/$", ProblemTagAdminAPIView.as_view(), name="problem_tag_admin_api"),
 url(
     r"^api/admin/join_group_request/$", JoinGroupRequestAdminAPIView.as_view(), name="join_group_request_admin_api"
 ),
 url(r"^api/admin/submission/$", SubmissionAdminAPIView.as_view(), name="submission_admin_api_view"),
 url(r"^api/admin/monitor/$", QueueLengthMonitorAPIView.as_view(), name="queue_length_monitor_api"),
 url(
     r"^api/admin/contest_submission/$",
     ContestSubmissionAdminAPIView.as_view(),
     name="contest_submission_admin_api_view",
 ),
 url(
     r"^contest/(?P<contest_id>\d+)/problem/(?P<contest_problem_id>\d+)/$",
     "contest.views.contest_problem_page",
     name="contest_problem_page",
 ),
 url(
     r"^contest/(?P<contest_id>\d+)/problem/(?P<contest_problem_id>\d+)/submissions/$",