mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #34088 -- Fixed Sitemap.get_latest_lastmod() crash with empty items.
Bug in 480191244d.
Thanks Michal Čihař for the report.
This commit is contained in:
committed by
Mariusz Felisiak
parent
444b6da7cc
commit
5eab4d1924
@@ -11,3 +11,8 @@ Bugfixes
|
||||
|
||||
* Fixed a regression in Django 4.1 that caused an unnecessary table rebuilt
|
||||
when adding ``ManyToManyField`` on SQLite (:ticket:`34138`).
|
||||
|
||||
* Fixed a bug in Django 4.1 that caused a crash of the sitemap index view with
|
||||
an empty :meth:`Sitemap.items() <django.contrib.sitemaps.Sitemap.items>` and
|
||||
a callable :attr:`~django.contrib.sitemaps.Sitemap.lastmod`
|
||||
(:ticket:`34088`).
|
||||
|
||||
Reference in New Issue
Block a user