Author: mtredinnick
Date: 2008-12-09 01:32:28 -0600 (Tue, 09 Dec 2008)
New Revision: 9625
Modified:
django/trunk/docs/ref/generic-views.txt
Log:
The "permanent" parameter to redirect_to (r9594) is new in Django 1.1. Noted as
much in the docs.
Modified: django/trunk/docs/ref/generic-views.txt
===================================================================
--- django/trunk/docs/ref/generic-views.txt 2008-12-09 07:18:32 UTC (rev
9624)
+++ django/trunk/docs/ref/generic-views.txt 2008-12-09 07:32:28 UTC (rev
9625)
@@ -136,6 +136,9 @@
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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---