list xml_attributes (new field since xblock integration) as system metadata which should not be edited in Studio

This commit is contained in:
Chris Dodge
2013-04-01 11:11:30 -04:00
parent 24e64e3946
commit ef267d9b89

View File

@@ -340,7 +340,7 @@ class XModuleDescriptor(XModuleFields, HTMLSnippet, ResourceTemplates, XBlock):
# cdodge: this is a list of metadata names which are 'system' metadata
# and should not be edited by an end-user
system_metadata_fields = ['data_dir', 'published_date', 'published_by', 'is_draft']
system_metadata_fields = ['data_dir', 'published_date', 'published_by', 'is_draft', 'xml_attributes']
# A list of descriptor attributes that must be equal for the descriptors to
# be equal