forms.URLField.min_length
  • References/Python/Django/API/Forms/Form fields

min_length These are the same as CharField.max_length and CharField.min_length.

2025-01-10 15:47:30
forms.models.modelformset_factory()
  • References/Python/Django/API/Forms/Model Form Functions

modelformset_factory(model, form=ModelForm, formfield_callback=None, formset=BaseModelFormSet, extra=1, can_delete=False, can_order=False, max_num=None, fields=None,

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

class Textarea [source] Text area: <textarea>...</textarea>

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

class NullBooleanSelect [source] Select widget with options ‘Unknown’, ‘Yes’ and ‘No’

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

years An optional list/tuple of years to use in the “year” select box. The default is a list containing the current year and

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

allow_folders Optional. Either True or False. Default is False. Specifies whether folders

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

class PasswordInput [source] Password input: <input type='password' ...>

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

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

2025-01-10 15:47:30