physics_workload.app.forms.standard_load¶
Attributes¶
Classes¶
Form for the Standard Load model |
|
Form for the Standard Load model |
Module Contents¶
- physics_workload.app.forms.standard_load.logger: logging.Logger¶
- class physics_workload.app.forms.standard_load.StandardLoadForm(**kwargs)¶
Bases:
iommi.Form
Form for the Standard Load model
- class Meta¶
Includes mathjax for rendering the help text on the model
- auto__model¶
- assets¶
- static actions__submit__post_handler(form, request, **_) django.http.HttpResponse | None ¶
Make sure that we update the assignments if any of the task details change, and update the teaching hours calculation if that’s then implied.
- Parameters:
form – The form returned.
request – The current request.
- Returns:
- class physics_workload.app.forms.standard_load.StandardLoadFormNewYear(**kwargs)¶
Bases:
iommi.Form
Form for the Standard Load model
- class Meta¶
Includes mathjax for rendering the help text on the model
- auto¶
- fields¶
- h_tag = None¶
- actions__submit¶
- iommi_style¶
- assets¶
- static actions__submit__post_handler(form, request: django.http.HttpRequest, **_) django.http.HttpResponse | None ¶
If this is saved as a new year… then update everything!
- Parameters:
form – The form returned.
request – The current request.
- Returns: