forms.RegexField
  • References/Python/Django/API/Forms/Form fields

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

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.FloatField
  • References/Python/Django/API/Forms/Form fields

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

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

widget Must be a subclass of

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.Field.clean()
  • References/Python/Django/API/Forms/Form fields

Field.clean(value) [source] Although the primary way you’ll use Field classes

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

fields A tuple of fields whose values are cleaned and subsequently combined into a single value. Each value of the field is

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

coerce A function that takes one argument and returns a coerced value. Examples include the built-in int, float

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

to_field_name This optional argument is used to specify the field to use as the value of the choices in the field’s widget.

2025-01-10 15:47:30