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 07:57:11 +0100
commiteca526eab09b34a8190b591812ab99646cb1f34a (patch)
tree9a025c2a81b7d853a67d75acffdb7b96f9e437cd /docs
parent84a2b2e7a7d8ac0dd210bcfa299fab8c4f240aae (diff)
[4.1.x] Fixed #34088 -- Fixed Sitemap.get_latest_lastmod() crash with empty items.
Bug in 480191244d12fefbf95854b2b117c71ffe44749a. Thanks Michal Čihař for the report. Backport of 5eab4d1924613a5506e517f157054b4852ae7dc2 from main
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`).