summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniel Ivanov <denatwrk@gmail.com>2022-11-04 16:43:40 +0300
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2022-11-07 06:15:54 +0100
commit5eab4d1924613a5506e517f157054b4852ae7dc2 (patch)
tree8f2c8501ddadbc310c4077c546954b829bff7ad7 /docs
parent444b6da7cc229a58a2c476a52e45233001dc7073 (diff)
Fixed #34088 -- Fixed Sitemap.get_latest_lastmod() crash with empty items.
Bug in 480191244d12fefbf95854b2b117c71ffe44749a. Thanks Michal Čihař for the report.
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/4.1.4.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/releases/4.1.4.txt b/docs/releases/4.1.4.txt
index 21040ebab6..3079fc55b7 100644
--- a/docs/releases/4.1.4.txt
+++ b/docs/releases/4.1.4.txt
@@ -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`).