diff options
| author | Tim Graham <timograham@gmail.com> | 2016-12-16 18:13:34 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-01-17 14:09:28 -0500 |
| commit | 0f454f5d4df5d07b713e5f5633f8b56ae70c7cf9 (patch) | |
| tree | 915ebc7f800037c3fd116abfcbc91b92745d8914 /docs | |
| parent | f032bbc8b107ab9274542f8d233fc88aa1c6e04d (diff) | |
Refs #23960 -- Removed the host parameter for SimpleTestCase.assertRedirects().
Per deprecation timeline.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/2.0.txt | 4 | ||||
| -rw-r--r-- | docs/topics/testing/tools.txt | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/docs/releases/2.0.txt b/docs/releases/2.0.txt index 751b46cccf..984e13e9f1 100644 --- a/docs/releases/2.0.txt +++ b/docs/releases/2.0.txt @@ -243,3 +243,7 @@ these features. * The ``django.forms.extras`` package is removed. * The ``assignment_tag`` helper is removed. + +* The ``host`` argument to ``SimpleTestCase.assertsRedirects()`` is removed. + The compatibility layer which allows absolute URLs to be considered equal to + relative ones when the path is identical is also removed. diff --git a/docs/topics/testing/tools.txt b/docs/topics/testing/tools.txt index 5ff8563dd1..7c40955a0c 100644 --- a/docs/topics/testing/tools.txt +++ b/docs/topics/testing/tools.txt @@ -1479,11 +1479,6 @@ your test suite. the original request's scheme is used. If present, the scheme in ``expected_url`` is the one used to make the comparisons to. - .. deprecated:: 1.9 - - The ``host`` argument is deprecated, as redirections are no longer - forced to be absolute URLs. - .. method:: SimpleTestCase.assertHTMLEqual(html1, html2, msg=None) Asserts that the strings ``html1`` and ``html2`` are equal. The comparison |
