Re: [Django] #34713: Add an option to disable lastmod in Sitemaps. (was: Sitemap index performance regression)

2 views
Skip to first unread message

Django

unread,
Jul 16, 2023, 6:24:41 AM7/16/23
to django-...@googlegroups.com
#34713: Add an option to disable lastmod in Sitemaps.
-------------------------------------+-------------------------------------
Reporter: Christoph Krybus | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: contrib.sitemaps | Version: dev
Severity: Normal | Resolution: needsinfo
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* status: new => closed
* type: Uncategorized => Cleanup/optimization
* resolution: => needsinfo


Comment:

Thanks for the report. Isn't it enough to overwrite `get_latest_lastmod()`
in your view? Creating a new feature flags is always controversial when
subclassing is enough (as we already have many of them).

--
Ticket URL: <https://code.djangoproject.com/ticket/34713#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Reply all
Reply to author
Forward
0 new messages