Search for course specifically in navigation view
This commit is contained in:
committed by
Matthew Mongeau
parent
7ce4f001d1
commit
645a190f3a
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user