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

fixed typo

parent d69a596b
......@@ -6,10 +6,8 @@ def programCourses(program):
courses = []
requirements = program.requirements.all()
print requirements
for requirement in requirements:
print requirement
for coursegroup in requirement.coursegroup.all():
for coursegroup in requirement.courses.all():
for course in coursegroup.courses.all():
courses.append(course)
......
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