Commit e2872e4c authored by Chris Reffett's avatar Chris Reffett
Browse files

more stuff

parent 9f7b2716
......@@ -5,11 +5,10 @@ from mainapp.models import Course, Semester, Trajectory # import more
def programCourses(program):
courses = []
requirements = program.requirements.all()
for requirement in requirements:
for coursegroup in
for course in
requirements = program.requirements
for requirement in requirements.all():
for course in
return courses
......@@ -132,7 +131,7 @@ def nextCourses(remainingReqCourses, taken):
nextcourses = []
for course in remainingReqCourses:
reqs = set()
for prereq in course.preq:
for prereq in course.prerequisites:
#for coreq in course.coreq:
# reqs.add(coreq)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment