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

Form.as_p() as_p() renders the form as a series of <p> tags, with each <p>

2025-01-10 15:47:30
Forms
  • References/Python/Django/API/Forms

Detailed form API reference. For introductory material, see the Working with forms topic guide.

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

fields The list of fields that should be used to validate the field’s value (in the order in which they are provided).

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.Widget.format_value()
  • References/Python/Django/API/Forms/Widgets

format_value(value) Cleans and returns a value for use in the widget template. value isn’t guaranteed to be valid

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

time_format Similar to TimeInput.format

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

class TextInput [source] Text input: <input type="text" ...>

2025-01-10 15:47:30
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.DateField
  • References/Python/Django/API/Forms/Form fields

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

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

regex A regular expression specified either as a string or a compiled regular expression object. Also

2025-01-10 15:47:30