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

plural

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