#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.