This repository has been archived by the owner on May 20, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 48
/
project_urls.py
40 lines (36 loc) · 1.76 KB
/
project_urls.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
class ControllerURLs():
controller_base="/grading_controller/"
log_in= controller_base + "login/"
log_out=controller_base +"logout/"
status = controller_base + "status/"
submit = controller_base + "submit/"
submit_message = controller_base + "submit_message/"
get_submission_ml = controller_base + "get_submission_ml/"
get_submission_in = controller_base + "get_submission_instructor/"
put_result = controller_base + "put_result/"
get_pending_count = controller_base + "get_pending_count/"
get_eta_for_submission= controller_base + "get_submission_eta/"
class PeerGradingURLs():
peer_grading_base="/peer_grading/"
get_next_submission=peer_grading_base + "get_next_submission/"
save_grade = peer_grading_base + "save_grade/"
is_student_calibrated = peer_grading_base + "is_student_calibrated/"
show_calibration_essay = peer_grading_base + "show_calibration_essay/"
save_calibration_essay = peer_grading_base + "save_calibration_essay/"
peer_grading = peer_grading_base + "peer_grading/"
get_problem_list = peer_grading_base + "get_problem_list/"
get_peer_grading_data_for_location = peer_grading_base + "get_data_for_location/"
get_notifications = peer_grading_base + "get_notifications/"
class MLGradingURLs():
pass
class StaffGradingURLs():
staff_grading_base="/staff_grading/"
get_next_submission= staff_grading_base + "get_next_submission/"
save_grade= staff_grading_base + "save_grade/"
get_problem_list= staff_grading_base + "get_problem_list/"
class XqueueURLs():
xqueue_url_base="/xqueue/"
log_in = xqueue_url_base + "login/"
put_result= xqueue_url_base + "put_result/"
get_submission = xqueue_url_base + "get_submission/"
get_queuelen = xqueue_url_base + "get_queuelen/"