1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

[5.1.x] Fixed #35628 -- Allowed compatible GeneratedFields for ModelAdmin.date_hierarchy.

Backport of 7f8d839722 from main.
This commit is contained in:
John Parton
2024-07-24 13:53:06 -05:00
committed by Sarah Boyce
parent 06fb6434b3
commit 88ebcb1856
3 changed files with 58 additions and 3 deletions

View File

@@ -24,3 +24,7 @@ Bugfixes
* Fixed a regression in Django 5.0.7 that caused a crash in
``LocaleMiddleware`` when processing a language code over 500 characters
(:ticket:`35627`).
* Fixed a bug in Django 5.0 that caused a system check crash when
``ModelAdmin.date_hierarchy`` was a ``GeneratedField`` with an
``output_field`` of ``DateField`` or ``DateTimeField`` (:ticket:`35628`).