Change superclass of AdminDateWidget from TextInput to DateTimeInput
|Reported by:||jamesbeard||Owned by:||Jannis Leidel|
|Severity:||Keywords:||date widget text format i18n-rf|
|Has patch:||yes||Needs documentation:||yes|
|Needs tests:||yes||Patch needs improvement:||yes|
Can we change the superclass of the newforms-admin contrib.admin.widgets.AdminDateWidget from TextInput to DateTimeInput?
The TextInput doesn't currently take any notice of newforms.fields.DEFAULT_DATE_INPUT_FORMATS. Changing it would cause existing date fields to render properly without having to patch Django locally or override half the admin framework. Unless there is another way that I've missed?
Refer to Django developers post at http://tinyurl.com/5w3lmf for some more details.
Change History (17)
comment:1 Changed 8 years ago by
|Patch needs improvement:||unset|
|Triage Stage:||Unreviewed → Design decision needed|
comment:12 Changed 7 years ago by
|Cc:||Jannis Leidel removed|
|Owner:||changed from David Larlet to Jannis Leidel|
|Patch needs improvement:||set|
|Status:||assigned → new|
|Triage Stage:||Design decision needed → Accepted|