Commit bde622d4 by Calen Pennington Committed by Matthew Mongeau

Search for course specifically in navigation view

parent 092d64aa
......@@ -7,6 +7,7 @@ def index(request):
# TODO (cpennington): These need to be read in from the active user
org = 'mit.edu'
course = '6002xs12'
course = keystore().get_item(['i4x', org, course, 'Course', None])
name = '6.002 Spring 2012'
course = keystore().get_item(['i4x', org, course, 'Course', name])
weeks = course.get_children()
return render_to_response('index.html', {'weeks': weeks})
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