Commit 7b9366d2 by George Song Committed by GitHub

Merge pull request #41 from edx/iivic/fix-XBlockWithSettingsMixin-bug

Remove block_settings_key declaration from XBlockWithSettingsMixin
parents 890bac00 ad8b2cca
......@@ -17,8 +17,9 @@ class XBlockWithSettingsMixin(object):
block_settings_key: string - XBlock settings is essentially a dictionary-like object (key-value storage).
Each XBlock must provide a key to look its settings up in this storage.
Settings Service uses `block_settings_key` attribute to get the XBlock settings key
If the `block_settings_key` is not provided the XBlock class name will be used.
"""
block_settings_key = None
# block_settings_key = "XBlockName" # (Optional)
def get_xblock_settings(self, default=None):
"""
......
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