class documentation
class TumorForm(FormLoggerMixin, forms.ModelForm):
Form to create and edit tumors, based on their model definition. Very straightforward, not much custom validation. This class basically just defines how some of the fields that are already defined in models.Tumor should appear in the HTML form.
Class |
|
Specifies the corresponding model. |
Method | clean |
Process the input for volume size. |
Method | save |
Save tumor to existing patient. |