forms.Form.errors.as_json()
  • References/Python/Django/API/Forms/The Forms API

Form.errors.as_json(escape_html=False) Returns the errors serialized as JSON.

2025-01-10 15:47:30
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.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.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.BoundField.auto_id
  • References/Python/Django/API/Forms/The Forms API

BoundField.auto_id The HTML ID attribute for this BoundField. Returns an empty string if Form.auto_id

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

BoundField.id_for_label Use this property to render the ID of this field. For example, if you are manually constructing a

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

class BoundField [source] Used to display HTML or access attributes for a single field of

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

Form.is_multipart() If you’re writing reusable views or templates, you may not know ahead of time whether your form is a multipart

2025-01-10 15:47:30
forms.BoundField.as_widget()
  • References/Python/Django/API/Forms/The Forms API

BoundField.as_widget(widget=None, attrs=None, only_initial=False) [source] Renders the field

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

Form.use_required_attribute New in Django 1.10. When

2025-01-10 15:47:30