forms.MultiValueField.widget
  • References/Python/Django/API/Forms/Form fields

widget Must be a subclass of

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

years An optional list/tuple of years to use in the “year” select box. The default is a list containing the current year and

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

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

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

BoundField.field The form

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

months An optional dict of months to use in the “months” select box. The keys of the dict correspond

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.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.Textarea
  • References/Python/Django/API/Forms/Widgets

class Textarea [source] Text area: <textarea>...</textarea>

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