mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Refs #23960 -- Removed the host parameter for SimpleTestCase.assertRedirects().
Per deprecation timeline.
This commit is contained in:
parent
f032bbc8b1
commit
0f454f5d4d
4 changed files with 7 additions and 38 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue