#34431: DateTimeField.input_formats change from Django 3.1 is documented
improperly
-----------------------------------------+------------------------
Reporter: stefan6419846 | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 3.1
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
-----------------------------------------+------------------------
In
https://github.com/django/django/commit/188b003014dc727ca22f7fafb21cf2fa0b3472d2,
`django.forms.fields.DateTimeField.input_formats` has been changed to be a
generator instead of the previous list. This type change does not seem to
have been documented anywhere, leading to unexpected errors during
migration and does not match the type of the `input_formats` for the other
datetime-related fields.
--
Ticket URL: <https://code.djangoproject.com/ticket/34431>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/010701870d98b948-1f55451a-888c-4bb7-b541-6f2f33ff4281-000000%40eu-central-1.amazonses.com.