display_name = String(
default="Cooperative Open Pair Assessment", scope=Scope.settings,
help="Display name"
)
@property
def has_score(self):
"""Are we a scored type (read: a problem). Yes.
For LMS Progress page/grades download purposes, we're always going to
have a score, even if it's just 0 at the start.
"""
return True
due = DateTime(
default=None, scope=Scope.settings,
help="ISO-8601 formatted string representing the due date of this assignment."
)
icon_class = "problem"
http://edx.readthedocs.org/projects/xblock-tutorial/en/latest/edx_platform/edx_lms.html#edx-learning-management-system-as-an-xblock-runtime https://github.com/edx/edx-ora2/blob/master/openassessment/xblock/lms_mixin.py