Tracks last edited date and user, and adds has_changes for blocks.

This commit is contained in:
Ben McMorran
2014-06-09 15:53:40 -04:00
parent b60b7c7e5a
commit ea97dd4508
11 changed files with 222 additions and 26 deletions

View File

@@ -19,11 +19,3 @@ class DateTuple(Field):
return None
return list(value.timetuple())
class CmsBlockMixin(XBlockMixin):
"""
Mixin with fields common to all blocks in Studio
"""
published_date = DateTuple(help="Date when the module was published", scope=Scope.settings)
published_by = Integer(help="Id of the user who published this module", scope=Scope.settings)