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

class DateTimeInput [source] Date/time input as a simple text box: <input type='text'

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

Form.is_bound If you need to distinguish between bound and unbound form instances at runtime, check the value of the form’s

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

class DateInput [source] Date input as a simple text box: <input type='text' ..

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

choices This attribute is optional when the form field does not have a choices attribute. If it does, it will override

2025-01-10 15:47:30
forms.BoundField.help_text
  • References/Python/Django/API/Forms/The Forms API

BoundField.help_text The

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

class NumberInput [source] Text input: <input type="number" ...>

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

format The format in which this field’s initial value will be displayed. If no format

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

format The format in which this field’s initial value will be displayed. If no format

2025-01-10 15:47:30