mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Fixed #21587 -- Added a warning for changing default of RedirectView.permanent.
This commit is contained in:
parent
d43dd03ca3
commit
9a30acad8a
7 changed files with 135 additions and 21 deletions
|
@ -222,6 +222,11 @@ RedirectView
|
|||
status code 301. If ``False``, then the redirect will use status code
|
||||
302. By default, ``permanent`` is ``True``.
|
||||
|
||||
.. deprecated:: 1.8
|
||||
|
||||
The default value of the ``permanent`` attribute will change from
|
||||
``True`` to ``False`` in Django 1.9.
|
||||
|
||||
.. attribute:: query_string
|
||||
|
||||
Whether to pass along the GET query string to the new location. If
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue