-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
data.py
96 lines (90 loc) · 3.59 KB
/
data.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
from django.db.models import TextChoices
years = [
("OR", "Orientation"),
("FR", "Freshman"),
("SP", "Sophomore"),
("JN", "Junior"),
("SN", "Senior"),
]
class DepartmentEnum(TextChoices):
ACFN = ("ACFN", "Accounting & Finance")
AE = ("AE", "Aerospace Engineering")
ARE = ("ARE", "Architectural Engineering")
ARC = ("ARC", "Architecture")
BIOE = ("BIOE", "Bioengineering")
CE = ("CE", "Civil & Environmental Engg")
CEM = ("CEM", "Construction Engg & Management")
CHE = ("CHE", "Chemical Engineering")
CHEM = ("CHEM", "Chemistry")
CIE = ("CIE", "Control & Instrumentation Engineering")
COE = ("COE", "Computer Engineering")
CPG = ("CPG", "CPG")
CRP = ("CRP", "City & Regional Planning")
ERTH = ("ERTH", "Earth Sciences")
EE = ("EE", "Electrical Engineering")
ELI = ("ELI", "English Language Inst. (Prep)")
ELD = ("ELD", "English Language Department")
FIN = ("FIN", "Finance")
ISOM = ("ISOM", "Info. Systems & Operations Mgt")
GS = ("GS", "Global Studies")
IAS = ("IAS", "Islamic & Arabic Studies")
ICS = ("ICS", "Information & Computer Science")
LS = ("LS", "Life Sciences")
MATH = ("MATH", "Mathematics & Statistics")
MBA = ("MBA", "Business Administration")
ME = ("ME", "Mechanical Engineering")
MSE = ("MSE", "Material Sciences and Engineering")
MGT = ("MGT", "Management & Marketing")
PE = ("PE", "Physical Education")
PETE = ("PETE", "Petroleum Engineering")
PHYS = ("PHYS", "Physics")
PSE = ("PSE", "Prep Science & Engineering")
SE = ("SE", "Industrial and Systems Engineering")
class SubjectEnum(TextChoices):
# ACFN = ("ACFN", "Accounting & Finance")
AE = ("AE", "Aerospace Engineering")
ARE = ("ARE", "Architectural Engineering")
ARC = ("ARC", "Architecture")
BIOE = ("BIOE", "Bioengineering")
CE = ("CE", "Civil & Environmental Engg")
CEM = ("CEM", "Construction Engg & Management")
CHE = ("CHE", "Chemical Engineering")
CHEM = ("CHEM", "Chemistry")
CIE = ("CIE", "Control & Instrumentation Engineering")
COE = ("COE", "Computer Engineering")
CPG = ("CPG", "CPG")
CRP = ("CRP", "City & Regional Planning")
# ERTH = ("ERTH", "Earth Sciences")
EE = ("EE", "Electrical Engineering")
# ELI = ("ELI", "English Language Inst. (Prep)")
# ELD = ("ELD", "English Language Department")
FIN = ("FIN", "Finance")
# ISOM = ("ISOM", "Info. Systems & Operations Mgt")
GS = ("GS", "Global Studies")
IAS = ("IAS", "Islamic & Arabic Studies")
ICS = ("ICS", "Information & Computer Science")
LS = ("LS", "Life Sciences")
MATH = ("MATH", "Mathematics & Statistics")
MBA = ("MBA", "Business Administration")
ME = ("ME", "Mechanical Engineering")
MSE = ("MSE", "Material Sciences and Engineering")
MGT = ("MGT", "Management & Marketing")
PE = ("PE", "Physical Education")
PETE = ("PETE", "Petroleum Engineering")
PHYS = ("PHYS", "Physics")
# PSE = ("PSE", "Prep Science & Engineering")
# SE = ("SE", "Industrial and Systems Engineering")
ISE = ("ISE", "Industrial and Systems Engineering")
SWE = ("SWE", "Software Engineering")
BUS = ("BUS", "Business")
ENGL = ("ENGL", "English")
ACCT = ("ACCT", "Accounting")
MKT = ("MKT", "Marketing")
STAT = ("STAT", "Statistics")
CGS = ("CGS", "College of General Studies")
ECON = ("ECON", "Economics")
GEOL = ("GEOL", "Geology")
GEOP = ("GEOP", "Geophysics")
MIS = ("MIS", "Management Information Systems")
OM = ("OM", "Operations Management")
# TODO make sure to map new subjects in instructor search