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

allow_files Optional. Either True or False. Default is True. Specifies whether files

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

Form.auto_id By default, the form rendering methods include: HTML id

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

class URLInput [source] Text input: <input type="url" ...>

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