#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 -------------------------------------+------------------------------------- Changes (by Mariusz Felisiak <felisiak.mariusz@…>):
* status: assigned => closed * resolution: => fixed Comment: In [changeset:"099bce1bf0b9802b7159beb9260b9b9e344bf497" 099bce1b]: {{{ #!CommitTicketReference repository="" revision="099bce1bf0b9802b7159beb9260b9b9e344bf497" Fixed #31590 -- Fixed ModelAdmin.date_hierarchy crash with an empty QuerySet. Regression in 55cdf6c52db07f29128741b8734a523ed042e465. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/31590#comment:4> 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 view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/067.d83689c79fb3607ff89946b444f95801%40djangoproject.com.