#27304: Django 1.10 onwards broke previous behaviour for models.DateTimeField()
in
Admin
-------------------------------------+-------------------------------------
Reporter: Kegan Gan | Owner: nobody
Type: Bug | Status: closed
Component: contrib.admin | Version: 1.10
Severity: Normal | Resolution: invalid
Keywords: model admin | Triage Stage:
datetime formfield_overrides | Unreviewed
AdminDateWidget widget |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):
* status: new => closed
* resolution: => invalid
Comment:
Bisected to b9290b1d49538c1092b59c41e6046b11c25ecafb. To adapt your code,
you must add `'form_class': forms.DateField` to the override.
--
Ticket URL: <https://code.djangoproject.com/ticket/27304#comment:2>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/063.1791b7af6d9f3769d63f90b43f6ea13f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.