Related bug fixed
This commit is contained in:
@@ -136,8 +136,8 @@ def index(request, course="6.002 Spring 2012", chapter="Using the System", secti
|
||||
module_ids = dom.xpath("//course[@name=$course]/chapter[@name=$chapter]//section[@name=$section]//@id",
|
||||
course=course, chapter=chapter, section=section)
|
||||
|
||||
module_object_preload = StudentModule.objects.filter(student=user,
|
||||
module_id__in=module_ids)
|
||||
module_object_preload = list(StudentModule.objects.filter(student=user,
|
||||
module_id__in=module_ids))
|
||||
|
||||
module=render_module(user, request, module, module_object_preload)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user