forked from ronnie-36/University-Management-System
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdata_requests.py
43 lines (36 loc) · 3.84 KB
/
data_requests.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
41
42
43
''' Store data for all the <<forms>> of the website '''
admin_login = {'user_id': '1', 'password': '1234'}
admin_student_add = dict([('first_name', 'James'), ('last_name', 'Scott'), ('student_id', '12'), ('gender', 'Male'), ('dob', '2021-03-18'), ('phone', '9022003399'), ('address', 'Lucknow'), ('sem', '4'), ('program', 'btech'), ('branch', 'cse'), ('image', '')])
admin_student_edit = dict([('first_name', 'James'), ('last_name', 'Scott'), ('gender', 'Female'), ('dob', '2021-03-06'), ('phone', '9022003322'), ('address', 'Lucknow21'), ('sem', '2'), ('program', 'btech'), ('branch', 'cse')])
admin_modal_next = dict([('sem', '1')])
# for faculty
faculty_login1 = {'user_id': '1', 'password': '1234'}
faculty_login2 = {'user_id': '1', 'password': '12345'}
faculty_profile = dict([('phone', '3103413677'), ('address', '3138 Doctors Drive'), ('email', '[email protected]'), ('ri', 'Logic Circuits')])
faculty_change_password1 = dict([('curpassword', ''), ('newpassword', ''), ('conpassword', '')])
faculty_change_password2 = dict([('curpassword', '1234'), ('newpassword', '12345'), ('conpassword', '123456')])
faculty_change_password3 = dict([('curpassword', '12345'), ('newpassword', '12345'), ('conpassword', '12345')])
faculty_change_password4 = dict([('curpassword', '1234'), ('newpassword', '12345'), ('conpassword', '12345')])
faculty_change_password_revert = dict([('curpassword', '12345'), ('newpassword', '1234'), ('conpassword', '1234')])
faculty_create_new_assignment = dict([('marks', '25'), ('name', 'Quiz 1'), ('text', 'test question'), ('sec_id', '2'), ('start', '2021-05-11T00:00'), ('end', '2021-05-12T00:00')])
faculty_grade_assignment = dict([('student_id', '1'), ('name', 'ron '), ('text', 'answer 2 text'), ('marksobtained', '9'), ('feedback', 'Good Work')])
admin_course_add = dict([('c_id', '12'), ('name', 'Chem'), ('credits', '2')])
admin_course_edit = dict([('name', 'Chemistry'), ('credits', '2.0'), ('description', 'Ok'), ('syllabus', 'Good')])
admin_course_delete = dict([('c_id', 12)])
admin_course_sem_assign = dict([('sem', '3')]) # cid = 2
admin_course_sem_delete = dict([('sem', '3')]) # cid = 2
admin_course_student_assign = dict([('sec_id', '2')]) # student_id = 2
admin_course_student_delete = dict([('sec_id', '2')]) # student_id = 2
admin_all_requests = dict([('r_id', 3)])
admin_faculty_add = dict([('faculty_id', '12'), ('first_name', 'Sharon'), ('last_name', 'mailk'), ('gender', 'Male'), ('dob', '2021-05-01'), ('phone', '9191020293'), ('address', '123-abc'), ('email', '[email protected]'), ('salary', '123333'), ('ri', 'software'), ('position', 'Associate Professor'), ('department', 'cse')])
admin_faculty_edit = dict([('first_name', 'Sharon'), ('last_name', 'mailk'), ('gender', 'Male'), ('dob', '2021-05-01'), ('phone', '9191020294'), ('address', '123-abcd'), ('email', '[email protected]'), ('salary', '1233332'), ('ri', 'software'), ('position', 'Associate Professor'), ('department', 'cse')])
admin_faculty_delete = dict([('faculty_id', '12')])
admin_department_add = dict([('dept_id', 'bio'), ('name', 'biology'), ('hod_id', '1'), ('budget', '120000'), ('phone', '1919230301')])
admin_department_edit = dict([('name', 'Computer Science and Engineering'), ('hod_id', '1'), ('budget', '120000'), ('phone', '9876512121')])
# student
student_login = {'user_id': '1', 'password': '1234'}
student_profile = dict([('emailid', '[email protected]'), ('gender', 'Male'), ('dob', '2001-01-11'), ('phone', ''), ('address', '100-england')])
student_settings = dict([('emailid', '[email protected]'), ('gender', 'Male'), ('dob', '2001-01-11'), ('phone', ''), ('address', '100-england')])
student_enroll_course = dict([('sec_id', '3'), ('sec_name', 'OS')])
student_gradesheet = dict([('sem','4')])
student_submit_assignment = dict([('id', '1'), ('text', '30'), ('text', 'Rohan'), ('text', '1'), ('message', 'Sort an array in O(n) using radix sort'), ('answer', 'Ok'), ('desc', 'Google'), ('url', 'Link1')])