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

class MultiValueField(fields=(), **kwargs) [source] Default widget:

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

path The absolute path to the directory whose contents you want listed. This directory must exist.

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

Field.error_messages The error_messages argument lets you override the default messages that the field will raise

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

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

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

max_length

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

min_length If provided, these arguments ensure that the string is at most or at least the given length.

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

empty_value The value to use to represent “empty.” Defaults to the empty string; None is another common choice

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

max_length

2025-01-10 15:47:30
forms.TimeField.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.time object.

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

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

2025-01-10 15:47:30