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

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

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

BoundField.as_hidden(attrs=None, **kwargs) [source] Returns a string of HTML for representing

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

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

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

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

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

input_formats A list of formats used to attempt to convert a string to a valid datetime.datetime object.

2025-01-10 15:47:30