Commit c170baa3 by Alan Boudreault

Ensure LightChild block are compatible with XBlock: added has_children to class Tip

parent 664c851a
...@@ -57,6 +57,7 @@ class TipBlock(LightChild): ...@@ -57,6 +57,7 @@ class TipBlock(LightChild):
display = String(help="List of choices to display the tip for", scope=Scope.content, default=None) display = String(help="List of choices to display the tip for", scope=Scope.content, default=None)
reject = String(help="List of choices to reject", scope=Scope.content, default=None) reject = String(help="List of choices to reject", scope=Scope.content, default=None)
require = String(help="List of choices to require", scope=Scope.content, default=None) require = String(help="List of choices to require", scope=Scope.content, default=None)
has_children = True
def render(self): def render(self):
""" """
......
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