forms.Form.changed_data
  • References/Python/Django/API/Forms/The Forms API

Form.changed_data The changed_data attribute returns a list of the names of the fields whose values in the form’s

2025-01-10 15:47:30
forms.Field.label
  • References/Python/Django/API/Forms/Form fields

Field.label The label argument lets you specify the “human-friendly” label for this field. This is used when the

2025-01-10 15:47:30
forms.Form.required_css_class
  • References/Python/Django/API/Forms/The Forms API

Form.required_css_class It’s pretty common to style form rows and fields that are required or have errors. For example, you

2025-01-10 15:47:30
forms.MultiValueField.require_all_fields
  • References/Python/Django/API/Forms/Form fields

require_all_fields Defaults to True, in which case a required validation error will be raised if no

2025-01-10 15:47:30
Form and field validation
  • References/Python/Django/API/Forms/Form and field validation

Form validation happens when the data is cleaned. If you want to customize this process, there are various places to make changes, each one serving a different purpose. Three

2025-01-10 15:47:30
forms.BooleanField
  • References/Python/Django/API/Forms/Form fields

class BooleanField(**kwargs) [source] Default widget:

2025-01-10 15:47:30
forms.DecimalField.max_value
  • References/Python/Django/API/Forms/Form fields

max_value

2025-01-10 15:47:30
forms.Form.label_suffix
  • References/Python/Django/API/Forms/The Forms API

Form.label_suffix A translatable string (defaults to a colon (:) in English) that will be appended after any label

2025-01-10 15:47:30
forms.models.inlineformset_factory()
  • References/Python/Django/API/Forms/Model Form Functions

inlineformset_factory(parent_model, model, form=ModelForm, formset=BaseInlineFormSet, fk_name=None, fields=None, exclude=None, extra=3, can_order=False, can_delete=True

2025-01-10 15:47:30
forms.MultiWidget.widgets
  • References/Python/Django/API/Forms/Widgets

widgets An iterable containing the widgets needed. And one required method:

2025-01-10 15:47:30