#34241: Django admin not showing seconds for list_display nor readonly
DateTimeField
-------------------------------+--------------------------------------
Reporter: Petr DlouhĂ˝ | Owner: nobody
Type: New feature | Status: closed
Component: contrib.admin | Version: 4.1
Severity: Normal | Resolution: wontfix
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------+--------------------------------------
Comment (by Carlton Gibson):
I'd imagine `ModelAdmin.formfield_overrides` would serve for editable
fields, with a project level base class if wanted throughout.
I don't think it's feasible for read-only fields without progress on
#30577 (which lacks even a proof-of-concept).
I agree that second and sub-second precision is not required (or desired)
in the vast majority of cases.
--
Ticket URL: <https://code.djangoproject.com/ticket/34241#comment:6>
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/0107018587523eca-2b25fce5-2947-49d3-b210-0ccb1eeab785-000000%40eu-central-1.amazonses.com.