Changed RedirectView.permanent to False per deprecation timeline; refs #21587.

This commit is contained in:
Tim Graham 2015-01-18 16:43:57 -05:00
parent bd98926f0e
commit 6e13c0490d
8 changed files with 69 additions and 159 deletions

View file

@ -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