| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-07-23 | Refs #36500 -- Rewrapped long docstrings and block comments via a script. | django-bot | |
| Rewrapped long docstrings and block comments to 79 characters + newline using script from https://github.com/medmunds/autofix-w505. | |||
| 2025-02-18 | Refs #36005 -- Used datetime.UTC alias instead of datetime.timezone.utc. | Mariusz Felisiak | |
| datetime.UTC was added in Python 3.11. | |||
| 2023-07-10 | Fixed #34688 -- Removed contrib.sitemaps.ping_google() and ping_google ↵ | Andrew Northall | |
| management command. Thanks Joachim Jablon for the report. Google has deprecated the sitemap ping endpoint, and will be removing it in 6 months ~January 2024. | |||
| 2023-02-01 | Refs #33476 -- Applied Black's 2023 stable style. | David Smith | |
| Black 23.1.0 is released which, as the first release of the year, introduces the 2023 stable style. This incorporates most of last year's preview style. https://github.com/psf/black/releases/tag/23.1.0 | |||
| 2023-01-17 | Refs #25916 -- Removed SitemapIndexItem.__str__() per deprecation timeline. | Mariusz Felisiak | |
| 2023-01-17 | Refs #32375 -- Changed default sitemap protocol to https. | Mariusz Felisiak | |
| Per deprecation timeline. | |||
| 2022-12-19 | Fixed #33662 -- Allowed Sitemap to customize languages for each item. | Roxane | |
| 2022-11-07 | Fixed #34088 -- Fixed Sitemap.get_latest_lastmod() crash with empty items. | Daniel Ivanov | |
| Bug in 480191244d12fefbf95854b2b117c71ffe44749a. Thanks Michal Čihař for the report. | |||
| 2022-03-24 | Refs #32365 -- Removed internal uses of utils.timezone.utc alias. | Carlton Gibson | |
| Remaining test case ensures that uses of the alias are mapped canonically by the migration writer. | |||
| 2022-02-07 | Refs #33476 -- Refactored code to strictly match 88 characters line length. | Mariusz Felisiak | |
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2021-10-21 | Fixed #25916 -- Added lastmod support to sitemap index view. | David Smith | |
| Co-authored-by: Matthew Downey <matthew.downey@webit.com.au> | |||
| 2021-05-21 | Fixed #32375 -- Started deprecation toward changing the default sitemap ↵ | Rohith PR | |
| protocol to https. The default sitemap protocol, when it is built outside the context of a request, will be changed from 'http' to 'https' in Django 5.0. | |||
| 2021-05-12 | Fixed #32366 -- Updated datetime module usage to recommended approach. | Nick Pope | |
| - Replaced datetime.utcnow() with datetime.now(). - Replaced datetime.utcfromtimestamp() with datetime.fromtimestamp(). - Replaced datetime.utctimetuple() with datetime.timetuple(). - Replaced calendar.timegm() and datetime.utctimetuple() with datetime.timestamp(). | |||
| 2021-04-14 | Fixed #32648 -- Fixed VariableDoesNotExist rendering sitemaps template. | Arthur Jovart | |
| 2020-12-15 | Fixed #31007 -- Allowed specifying type of auto-created primary keys. | Tom Forbes | |
| This also changes the default type of auto-created primary keys for new apps and projects to BigAutoField. | |||
| 2020-09-14 | Fixed #31789 -- Added a new headers interface to HttpResponse. | Tom Carrick | |
| 2020-07-29 | Fixed #27395 -- Added sitemap 'alternates' generation. | Florian Demmer | |
| Updated the sitemap generator and default template to optionally include link elements with hreflang attribute to alternate language URLs. | |||
| 2020-07-29 | Refs #27395 -- Added XML namespace declaration to sitemap template. | Carlton Gibson | |
| As per Google recommendations: https://support.google.com/webmasters/answer/189077?hl=en | |||
| 2020-07-21 | Fixed #31180 -- Configured applications automatically. | Aymeric Augustin | |
| 2020-06-01 | Reverted "Refs #23919 -- Removed obsolete __init__.py files in management ↵ | René Fleschenberg | |
| command directories." This reverts commit ccc25bfe4f0964a00df3af6f91c2d9e20159a0c2. https://groups.google.com/d/topic/django-developers/GVHMH2ciAnk/discussion | |||
| 2019-01-11 | Refs #23829 -- Made ping_google command/function use https for the sitemap URL. | Sanyam Khurana | |
| 2018-09-26 | Refs #29784 -- Switched to https:// links where available. | Jon Dufresne | |
| 2018-07-02 | Removed parser.add_arguments() arguments that match the defaults. | Claude Paroz | |
| 2018-01-03 | Refs #23919 -- Removed obsolete __init__.py files in management command ↵ | я котик пур-пур | |
| directories. | |||
| 2017-09-07 | Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()." | Tim Graham | |
| This reverts commit 550cb3a365dee4edfdd1563224d5304de2a57fda because try/except performs better. | |||
| 2017-06-28 | Fixed #27818 -- Replaced try/except/pass with contextlib.suppress(). | Mads Jensen | |
| 2017-05-27 | Added comments to contrib.sitemaps.index() view. | Boris Burkov | |
| 2017-02-28 | Fixed #27842 -- Added protocol kwarg to GenericSitemap.__init__(). | Alexey Opalev | |
| 2017-02-07 | Converted usage of ugettext* functions to their gettext* aliases | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2017-02-04 | Refs #27656 -- Updated django.contrib docstring verb style according to PEP 257. | Anton Samarchyan | |
| 2017-01-19 | Refs #23919 -- Stopped inheriting from object to define new style classes. | Simon Charette | |
| 2017-01-18 | Refs #23919 -- Removed most of remaining six usage | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2016-11-22 | Added tests for contrib.sitemaps.ping_google(). | Adam Chainz | |
| 2016-08-25 | Replaced property() usage with decorator in several places. | Berker Peksag | |
| 2016-03-08 | Fixed a dead link in django/contrib/sitemaps/__init__.py. | Tim Graham | |
| 2016-01-23 | Fixed #25989 -- Corrected sitemap's Last-Modified header to use the latest ↵ | Alexander Rudakov | |
| lastmod of all sitemaps. Previously, the lastmod of the last sitemap was always used. All sitemaps are required to have a lastmod. | |||
| 2015-12-31 | Fixed #26013 -- Moved django.core.urlresolvers to django.urls. | Marten Kenbeek | |
| Thanks to Tim Graham for the review. | |||
| 2015-11-19 | Updated sitemaps.ping_google() to use https. | Matt Robenolt | |
| 2015-06-27 | Sorted imports in __init__.py files. | Tim Graham | |
| 2015-05-13 | Removed unnecessary arguments in .get method calls | Piotr Jakimiak | |
| 2015-05-05 | Removed empty sitemaps/models.py file. | Tim Graham | |
| 2015-04-18 | Removed cases of six.iter* wrapped in a list() | Curtis Maloney | |
| There's absolutely no advantage [and a mild performance hit] to using six.iter* in these cases. | |||
| 2015-02-11 | Moved contrib.sitemaps tests out of contrib. | Tim Graham | |
| 2015-02-06 | Sorted imports with isort; refs #23860. | Tim Graham | |
| 2015-01-17 | Removed contrib.flatpages.FlatPageSitemap per deprecation timeline; refs #23884. | Tim Graham | |
| 2014-12-30 | Applied ignore_warnings to Django tests | Claude Paroz | |
| 2014-12-28 | Deprecated TEMPLATE_DIRS. | Aymeric Augustin | |
| 2014-12-15 | Refs #23884 -- Silenced a deprecation warning in sitemaps tests. | Tim Graham | |
| 2014-12-15 | Fixed #23884 -- Moved FlatPageSitemap into django.contrib.flatpages. | Berker Peksag | |
