Commit ed8a9053 by Jonathan Piacenti

Use raw DescriptorSystem for preview.

parent fbdf190e
...@@ -224,7 +224,7 @@ def _preview_module_system(request, descriptor, field_data): ...@@ -224,7 +224,7 @@ def _preview_module_system(request, descriptor, field_data):
error_descriptor_class=ErrorDescriptor, error_descriptor_class=ErrorDescriptor,
get_user_role=lambda: get_user_role(request.user, course_id), get_user_role=lambda: get_user_role(request.user, course_id),
# Get the raw DescriptorSystem, not the CombinedSystem # Get the raw DescriptorSystem, not the CombinedSystem
descriptor_runtime=descriptor.runtime, descriptor_runtime=descriptor._runtime,
services=services, services=services,
) )
......
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