Mariusz Felisiak
|
daf88e778b
|
Refs #25916 -- Removed SitemapIndexItem.__str__() per deprecation timeline.
|
2023-01-17 11:49:15 +01:00 |
Mariusz Felisiak
|
4eb97a90f0
|
Refs #32375 -- Changed default sitemap protocol to https.
Per deprecation timeline.
|
2023-01-17 11:49:15 +01:00 |
Roxane
|
289e9a75af
|
Fixed #33662 -- Allowed Sitemap to customize languages for each item.
|
2022-12-19 12:51:52 +01:00 |
Daniel Ivanov
|
5eab4d1924
|
Fixed #34088 -- Fixed Sitemap.get_latest_lastmod() crash with empty items.
Bug in 480191244d .
Thanks Michal Čihař for the report.
|
2022-11-07 06:15:54 +01:00 |
Ikko Ashimine
|
77330a089c
|
Fixed typo in tests/sitemaps_tests/test_http.py.
|
2022-07-11 08:25:04 +02:00 |
Mariusz Felisiak
|
7119f40c98
|
Refs #33476 -- Refactored code to strictly match 88 characters line length.
|
2022-02-07 20:37:05 +01:00 |
django-bot
|
9c19aff7c7
|
Refs #33476 -- Reformatted code with Black.
|
2022-02-07 20:37:05 +01:00 |
David Smith
|
480191244d
|
Fixed #25916 -- Added lastmod support to sitemap index view.
Co-authored-by: Matthew Downey <matthew.downey@webit.com.au>
|
2021-10-21 15:26:22 +02:00 |
David Smith
|
f345c9fb3e
|
Refs #25916 -- Added tests for a callable lastmod on Sitemaps.
|
2021-10-14 08:13:22 +02:00 |
Claude Paroz
|
676bd084f2
|
Fixed #32873 -- Deprecated settings.USE_L10N.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
|
2021-09-14 12:05:43 +02:00 |
Rohith PR
|
7cca22964c
|
Fixed #32375 -- Started deprecation toward changing the default sitemap 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-21 11:00:54 +02:00 |
Arthur Jovart
|
08c60cce3b
|
Fixed #32648 -- Fixed VariableDoesNotExist rendering sitemaps template.
|
2021-04-14 16:50:47 +02:00 |
Tom Carrick
|
bcc2befd0e
|
Fixed #31789 -- Added a new headers interface to HttpResponse.
|
2020-09-14 08:41:59 +02:00 |
Florian Demmer
|
16218c2060
|
Fixed #27395 -- Added sitemap 'alternates' generation.
Updated the sitemap generator and default template to optionally
include link elements with hreflang attribute to alternate language
URLs.
|
2020-07-29 11:48:29 +02:00 |
Carlton Gibson
|
50e1ccbbea
|
Refs #27395 -- Added XML namespace declaration to sitemap template.
As per Google recommendations:
https://support.google.com/webmasters/answer/189077?hl=en
|
2020-07-29 11:48:29 +02:00 |
Claude Paroz
|
b547c42661
|
Improved HTTPSitemapTests.test_localized_priority.
Override setting instead of skipping.
Use translation override context manager to avoid language leaking.
|
2020-05-25 09:07:50 +02:00 |
Jon Dufresne
|
9b508bdb9b
|
Removed unnecessary skipUnless in HTTPSitemapTests.
contrib.sites is included in INSTALLED_APPS by SitemapTestsBase.
|
2018-10-04 08:50:18 -04:00 |
Mads Jensen
|
a51c4de194
|
Used assertRaisesMessage() to test Django's error messages.
|
2017-07-29 19:07:23 -04:00 |
Anton Samarchyan
|
0eefda493b
|
Improved test coverage for django.contrib.sitemaps.
|
2017-07-26 15:01:46 -04:00 |
chex
|
12745d8a4f
|
Added tests for contrib.sitemaps.GenericSitemap.
|
2017-02-25 07:54:17 -05:00 |
Tim Graham
|
500532c95d
|
Refs #23919 -- Removed default 'utf-8' argument for str.encode()/decode().
|
2017-02-09 09:03:47 -05:00 |
Tim Graham
|
4e729feaa6
|
Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage.
These functions do nothing on Python 3.
|
2017-01-20 08:01:02 -05:00 |
Claude Paroz
|
d7b9aaa366
|
Refs #23919 -- Removed encoding preambles and future imports
|
2017-01-18 09:55:19 +01:00 |
za
|
321e94fa41
|
Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.
|
2016-11-10 21:30:21 -05:00 |
Emad Mokhtar
|
c4980e28e5
|
Fixed #26290 -- Warned that paginating an unordered QuerySet may result in inconsistent results.
|
2016-06-08 14:09:24 -04:00 |
Hasan
|
3d0dcd7f5a
|
Refs #26022 -- Used context manager version of assertRaises in tests.
|
2016-01-29 12:32:18 -05:00 |
Andrew Kuchev
|
5b2e11e574
|
Refs #26015 -- Added regression test for an empty sitemap.
|
2016-01-28 11:20:36 -05:00 |
Alexander Rudakov
|
002a4f72c4
|
Fixed #25989 -- Corrected sitemap's Last-Modified header to use the latest lastmod of all sitemaps.
Previously, the lastmod of the last sitemap was always used.
All sitemaps are required to have a lastmod.
|
2016-01-23 08:48:31 -05:00 |
Tim Graham
|
785cc71d5b
|
Refs #22384 -- Removed the ability to reverse URLs by dotted path per deprecation timeline.
|
2015-09-23 19:31:09 -04:00 |
Tim Graham
|
aaacaeb096
|
Renamed RemovedInDjangoXYWarnings for new roadmap.
Forwardport of ae1d663b79
from stable/1.8.x plus more.
|
2015-06-24 16:08:20 -04:00 |
Tim Graham
|
fbc467c26b
|
Moved contrib.sitemaps tests out of contrib.
|
2015-02-11 10:19:22 -05:00 |