Commit 8c51c59b by David Ormsbee

Merge pull request #1482 from edx/hotfix/randomize_descriptor

Add get_child_descriptors to the list of module_attrs in XModuleDescriptor
parents d64723db acf22bf4
...@@ -748,6 +748,7 @@ class XModuleDescriptor(XModuleMixin, HTMLSnippet, ResourceTemplates, XBlock): ...@@ -748,6 +748,7 @@ class XModuleDescriptor(XModuleMixin, HTMLSnippet, ResourceTemplates, XBlock):
handle_ajax = module_attr('handle_ajax') handle_ajax = module_attr('handle_ajax')
max_score = module_attr('max_score') max_score = module_attr('max_score')
student_view = module_attr('student_view') student_view = module_attr('student_view')
get_child_descriptors = module_attr('get_child_descriptors')
# ~~~~~~~~~~~~~~~ XBlock API Wrappers ~~~~~~~~~~~~~~~~ # ~~~~~~~~~~~~~~~ XBlock API Wrappers ~~~~~~~~~~~~~~~~
def studio_view(self, _context): def studio_view(self, _context):
......
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