mirror of https://github.com/django/django.git
The "permanent" parameter to redirect_to (r9594) is new in Django 1.1. Noted as
much in the docs. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9625 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
731f6be262
commit
80da07e4b9
|
@ -136,6 +136,9 @@ If the given URL is ``None``, Django will return an ``HttpResponseGone`` (410).
|
|||
redirect will use status code 301. If ``False``, then the redirect will
|
||||
use status code 302. By default, ``permanent`` is ``True``.
|
||||
|
||||
.. versionadded:: 1.1
|
||||
The ``permanent`` keyword argument is new in Django 1.1.
|
||||
|
||||
**Example:**
|
||||
|
||||
This example issues a permanent redirect (HTTP status code 301) from
|
||||
|
|
Loading…
Reference in New Issue