#31590: Admin date_hierarchy crashes on datetime field with no data
-------------------------------------+-------------------------------------
Reporter: Kyle | Owner: Kyle
Type: Bug | Status: closed
Component: contrib.admin | Version: 3.1
Severity: Release blocker | Resolution: fixed
Keywords: date_hierarchy | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"ef19aec2caab1ad246fd48ba1cf7c02e05706a5d" ef19aec2]:
{{{
#!CommitTicketReference repository=""
revision="ef19aec2caab1ad246fd48ba1cf7c02e05706a5d"
[3.1.x] Fixed #31590 -- Fixed ModelAdmin.date_hierarchy crash with an
empty QuerySet.
Regression in 55cdf6c52db07f29128741b8734a523ed042e465.
Backport of 099bce1bf0b9802b7159beb9260b9b9e344bf497 from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/31590#comment:5>
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/067.adf997e4df2315011622aa7d7bf7d8e1%40djangoproject.com.