Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Daniel W Bond
advisor
Commits
fa34bfa7
Commit
fa34bfa7
authored
Feb 02, 2014
by
Daniel W Bond
Browse files
more changes to the models will probably be forthcoming
parent
5a423933
Changes
1
Hide whitespace changes
Inline
Side-by-side
advisor/trajectories/models.py
View file @
fa34bfa7
...
@@ -80,8 +80,6 @@ class Program(BaseModel):
...
@@ -80,8 +80,6 @@ class Program(BaseModel):
# courseCollections
# courseCollections
courseReqs
=
models
.
ManyToManyField
(
'CourseCollection'
,)
courseReqs
=
models
.
ManyToManyField
(
'CourseCollection'
,)
isHonors
=
models
.
BooleanField
(
False
),
# is BA, BS, Honors
# is BA, BS, Honors
# all majors must take a gened program, null for minors, geneds
# all majors must take a gened program, null for minors, geneds
degreeType
=
models
.
ManyToManyField
(
'Program'
,
null
=
True
)
degreeType
=
models
.
ManyToManyField
(
'Program'
,
null
=
True
)
...
@@ -114,11 +112,13 @@ class Student(models.Model):
...
@@ -114,11 +112,13 @@ class Student(models.Model):
# aka username, etc should all be here
# aka username, etc should all be here
# all of the student's trajectories
# all of the student's trajectories
trajector
y
=
models
.
ManyToManyField
(
'Trajectory'
,
null
=
True
)
trajector
ies
=
models
.
ManyToManyField
(
'Trajectory'
,
null
=
True
)
# a big ol' list of courses the student has already completed
# a big ol' list of courses the student has already completed
completedCourses
=
models
.
ManyToManyField
(
'Course'
,
null
=
True
)
completedCourses
=
models
.
ManyToManyField
(
'Course'
,
null
=
True
)
isHonors
=
models
.
BooleanField
(
False
),
semester
=
models
.
IntegerField
()
semester
=
models
.
IntegerField
()
class
Meta
:
class
Meta
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment