classifier.formsets¶
ClassifierFormSet¶
-
class
classifier.formsets.ClassifierFormSet(*args, **kwargs)[source]¶ -
add_required_to_extra()[source]¶ Method create extra forms for required records from classifier with selected needed kinds by default.
-
classifier_label_model¶ Property return model inherited from
ClassifierLabelAbstractand used for one of field in model for this formset.Returns: model inherited from ClassifierLabelAbstractRaises: ClassifierLabelModelNotFound – field can not be found
Return name of field related to model inherited from
ClassifierLabelAbstract.
-
validate_required()[source]¶ Validate if all required records are filled in
Raises: django.core.exceptions.ValidationError – if one or mode records are absent
-