Commit 3ac421ac by Piotr Mitros

Merge pull request #3 from pmitros/fix-studio-view

Fix studio view
parents cf303391 01401549
...@@ -120,3 +120,9 @@ class DoneXBlock(XBlock): ...@@ -120,3 +120,9 @@ class DoneXBlock(XBlock):
"""The maximum raw score of our problem. """The maximum raw score of our problem.
""" """
return 1 return 1
## More dummy code to keep Studio happy
def studio_view(self, context=None):
""" View for editing Instructor Tool block in Studio. """
# Display friendly message explaining that the block is not editable.
return Fragment(u'<p>This block requires no configuration in Studio. A small number of advanced parameters are available via OLX.</p>')
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