WIP. Data loads, but not all of it

This commit is contained in:
Calen Pennington
2012-12-07 12:48:57 -05:00
parent 3d6cbf4709
commit 8ba4163557
16 changed files with 296 additions and 382 deletions

View File

@@ -499,7 +499,7 @@ def load_preview_module(request, preview_id, descriptor, instance_state, shared_
"""
system = preview_module_system(request, preview_id, descriptor)
try:
module = descriptor.xmodule_constructor(system)(instance_state, shared_state)
module = descriptor.xmodule(system)
except:
module = ErrorDescriptor.from_descriptor(
descriptor,