Commit 506e7a3a authored by Ben Waters's avatar Ben Waters
Browse files

probably not

parent ca9c299e
...@@ -5,7 +5,8 @@ from mainapp.models import Course, Semester, Trajectory # import more ...@@ -5,7 +5,8 @@ from mainapp.models import Course, Semester, Trajectory # import more
def programCourses(program): def programCourses(program):
courses = [] courses = []
requirements = program.requirements.all requirements = program.requirements
print requirements[0]
print requirements print requirements
for requirement in requirements: for requirement in requirements:
print requirement print requirement
......
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