Commit 51c65e21 by Matthew Mongeau

Get initial courseware page displaying.

parent fe5fa733
...@@ -125,7 +125,7 @@ def render_accordion(request, course, chapter, section): ...@@ -125,7 +125,7 @@ def render_accordion(request, course, chapter, section):
Returns (initialization_javascript, content)''' Returns (initialization_javascript, content)'''
# TODO (cpennington): do the right thing with courses # TODO (cpennington): do the right thing with courses
toc = toc_for_course(request.user, request, course.location, chapter, section) toc = toc_for_course(request.user, request, course, chapter, section)
active_chapter = 1 active_chapter = 1
for i in range(len(toc)): for i in range(len(toc)):
......
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