#26449: Document that SplitDateTimeWidget requires SplitDateTimeField --------------------------------------+------------------------------------ Reporter: MarysiaLowas | Owner: yakky Type: Cleanup/optimization | Status: assigned Component: Documentation | Version: 1.9 Severity: Normal | Resolution: Keywords: | Triage Stage: Accepted Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 --------------------------------------+------------------------------------
Comment (by yakky): The behavior described in this ticket is due to this deprecation https://github.com/django/django/blob/stable/1.8.x/django/forms/fields.py#L507 , thus it's an intended behavior The only possible fix here is to document better how to use `formfield_overrides` for `AdminSplitDateTime` `AdminSplitDateTime` per se it's not documented as is considered part of the private API We can document `SplitDateTimeWidget` but this won't solve this ticket anyway -- Ticket URL: <https://code.djangoproject.com/ticket/26449#comment:12> 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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/070.1d4217f3b843c415d426358111b4e312%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.