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 |