forms.DecimalField.min_value
  • References/Python/Django/API/Forms/Form fields

min_value These control the range of values permitted in the field, and should be given as decimal.Decimal values

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

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

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

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

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

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

2025-01-10 15:47:30
forms.MultiValueField.compress()
  • References/Python/Django/API/Forms/Form fields

compress(data_list) [source] Takes a list of valid values and returns a “compressed” version

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

class GenericIPAddressField(**kwargs) [source] A field containing either an IPv4 or an IPv6

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

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

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

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

2025-01-10 15:47:30