mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Changed RedirectView.permanent to False per deprecation timeline; refs #21587.
This commit is contained in:
parent
bd98926f0e
commit
6e13c0490d
8 changed files with 69 additions and 159 deletions
|
@ -225,12 +225,12 @@ RedirectView
|
|||
Whether the redirect should be permanent. The only difference here is
|
||||
the HTTP status code returned. If ``True``, then the redirect will use
|
||||
status code 301. If ``False``, then the redirect will use status code
|
||||
302. By default, ``permanent`` is ``True``.
|
||||
302. By default, ``permanent`` is ``False``.
|
||||
|
||||
.. deprecated:: 1.8
|
||||
.. versionchanged:: 1.9
|
||||
|
||||
The default value of the ``permanent`` attribute will change from
|
||||
``True`` to ``False`` in Django 1.9.
|
||||
The default value of the ``permanent`` attribute changed from
|
||||
``True`` to ``False``.
|
||||
|
||||
.. attribute:: query_string
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue