Mark is_draft as system metadata, so that users don't edit it

This commit is contained in:
Calen Pennington
2012-10-10 15:47:19 -04:00
parent 5ae34aa4ed
commit 9239da678a

View File

@@ -409,7 +409,7 @@ class XModuleDescriptor(Plugin, HTMLSnippet, ResourceTemplates):
# 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']
system_metadata_fields = ['data_dir', 'published_date', 'published_by', 'is_draft']
# A list of descriptor attributes that must be equal for the descriptors to
# be equal