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 |
|
Nick Pope
|
24b82cd201
|
Fixed #30159 -- Removed unneeded use of OrderedDict.
Dicts preserve order since Python 3.6.
|
2019-02-06 13:48:39 -05:00 |
|
Sanyam Khurana
|
76d31be2d0
|
Refs #23829 -- Made ping_google command/function use https for the sitemap URL.
|
2019-01-11 10:32:22 -05:00 |
|
Tim Graham
|
043bd70942
|
Updated test URL patterns to use path() and re_path().
|
2018-12-31 10:47:32 -05:00 |
|
Simon Charette
|
84e7a9f4a7
|
Switched setUp() to setUpTestData() where possible in Django's tests.
|
2018-11-27 09:35:17 -05: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 |
|
Alexey Opalev
|
9f21e35100
|
Fixed #27842 -- Added protocol kwarg to GenericSitemap.__init__().
|
2017-02-28 11:48:07 -05: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 |
|
chillaranand
|
d6eaf7c018
|
Refs #23919 -- Replaced super(ClassName, self) with super().
|
2017-01-25 12:23:46 -05:00 |
|
Tim Graham
|
7aba69145d
|
Refs #23919 -- Removed django.test.mock Python 2 compatibility shim.
|
2017-01-20 08:17:20 -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
|
2b281cc35e
|
Refs #23919 -- Removed most of remaining six usage
Thanks Tim Graham for the review.
|
2017-01-18 21:33:28 +01:00 |
|
Claude Paroz
|
d7b9aaa366
|
Refs #23919 -- Removed encoding preambles and future imports
|
2017-01-18 09:55:19 +01:00 |
|
Adam Chainz
|
10d49b96e6
|
Added tests for contrib.sitemaps.ping_google().
|
2016-11-22 18:27:19 -05:00 |
|
Ramin Farajpour Cami
|
967be82443
|
Fixed E305 flake8 warnings.
|
2016-11-14 12:30:46 -05: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 |
|
Tim Graham
|
2bdc9616f4
|
Added missing backslash in sitemaps_tests urls.
|
2016-03-09 10:07:01 -05: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 |
|
Marten Kenbeek
|
16411b8400
|
Fixed #26013 -- Moved django.core.urlresolvers to django.urls.
Thanks to Tim Graham for the review.
|
2015-12-31 14:21:29 -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 |
|
Marten Kenbeek
|
f668bac9d2
|
Fixed #24345 -- Isolated sitemaps_tests from contenttypes_tests; refs #11505
|
2015-02-16 08:42:43 -05:00 |
|
Tim Graham
|
fbc467c26b
|
Moved contrib.sitemaps tests out of contrib.
|
2015-02-11 10:19:22 -05:00 |
|