Commit 9e90b65c authored by Ben Waters's avatar Ben Waters
Browse files


parent 1e392c5a
...@@ -131,7 +131,7 @@ def nextCourses(remainingReqCourses, taken): ...@@ -131,7 +131,7 @@ def nextCourses(remainingReqCourses, taken):
nextcourses = [] nextcourses = []
for course in remainingReqCourses: for course in remainingReqCourses:
reqs = set() reqs = set()
c = Course.get(title=course) c = Course.objects.get(title=course)
for prereq in c.prerequisites: for prereq in c.prerequisites:
reqs.add(prereq) reqs.add(prereq)
#for coreq in course.coreq: #for coreq in course.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