Skip to content
Browse files

The "permanent" parameter to redirect_to (r9594) is new in Django 1.1…

…. Noted as

much in the docs.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 731f6be commit 80da07e4b93bfbaf4dbadfd72fb58aa233fa0096 @malcolmt malcolmt committed
Showing with 3 additions and 0 deletions.
  1. +3 −0 docs/ref/generic-views.txt
3 docs/ref/generic-views.txt
@@ -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.
This example issues a permanent redirect (HTTP status code 301) from

0 comments on commit 80da07e

Please sign in to comment.
Something went wrong with that request. Please try again.