mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #21587 -- Added a warning for changing default of RedirectView.permanent.
This commit is contained in:
committed by
Tim Graham
parent
d43dd03ca3
commit
9a30acad8a
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user