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

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

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

recursive If False (the default) only the direct contents of path will be offered as choices. If True

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

allow_unicode New in Django 1.9. A boolean

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

to_field_name Same as ModelChoiceField.to_field_name.

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

max_digits The maximum number of digits (those before the decimal point plus those after the decimal point, with leading zeros

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

Field.has_changed() [source] The has_changed() method is used to determine if

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

queryset Same as ModelChoiceField.queryset. Takes one optional argument:

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

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

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

protocol Limits valid inputs to the specified protocol. Accepted values are both (default), IPv4 or

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

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

2025-01-10 15:47:30