physics_workload.app.models.assignment¶
Attributes¶
Classes¶
Pairs a Staff member up with the task they're performing. |
Module Contents¶
- physics_workload.app.models.assignment.logger: logging.Logger¶
- class physics_workload.app.models.assignment.Assignment¶
Bases:
app.models.common.ModelCommon
Pairs a Staff member up with the task they’re performing.
- icon = 'clipboard'¶
- url_root = 'assignment'¶
- task¶
- staff¶
- students¶
- notes¶
- is_first_time¶
- is_provisional¶
- load_calc¶
- class Meta¶
- indexes¶
- unique_together = ('task', 'staff')¶
- ordering = ('-staff', 'task')¶
- verbose_name = 'Assignment'¶
- verbose_name_plural = 'Assignments'¶
- constraints¶
- __str__() str ¶
- get_full_name()¶
- get_absolute_url() str ¶
- Return The absolute URL of the task this assignment belongs to:
- update_load() bool ¶
Updates the load for this assignment. :return: True if the load has changed.