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

Form.cleaned_data Each field in a Form class is responsible not only for validating data, but also for “cleaning”

2025-01-10 15:47:30
forms.Widget.id_for_label()
  • References/Python/Django/API/Forms/Widgets

id_for_label(self, id_) [source] Returns the HTML ID attribute of this widget for use by

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

class SplitHiddenDateTimeWidget [source] Similar to SplitDateTimeWidget, but

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

BoundField.html_name The name that will be used in the widget’s HTML name attribute. It takes the form prefix

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

Field.required By default, each Field class assumes the value is required, so if you pass an empty value – either

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

Field.disabled New in Django 1.9. The

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

Field.localize The localize argument enables the localization of form data input, as well as the rendered output

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

class TypedMultipleChoiceField(**kwargs) [source] Just like a MultipleChoiceField

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

class RadioSelect [source] Similar to Select, but rendered as a list of radio

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

BoundField.css_classes() [source] When you use Django’s rendering shortcuts, CSS classes

2025-01-10 15:47:30