1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #20793 -- Added Last-Modified header to sitemaps.

This commit is contained in:
Julian Bez
2013-07-23 16:25:21 +02:00
committed by Tim Graham
parent 4d8ecbdfda
commit 8f5533ab25
6 changed files with 79 additions and 3 deletions

View File

@@ -95,6 +95,12 @@ Minor features
* The :djadminopt:`--no-color` option for ``django-admin.py`` allows you to
disable the colorization of management command output.
* The :mod:`sitemap framework<django.contrib.sitemaps>` now makes use of
:attr:`~django.contrib.sitemaps.Sitemap.lastmod` to set a ``Last-Modified``
header in the response. This makes it possible for the
:class:`~django.middleware.http.ConditionalGetMiddleware` to handle
conditional ``GET`` requests for sitemaps which set ``lastmod``.
Backwards incompatible changes in 1.7
=====================================