summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/generic-views.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/ref/generic-views.txt b/docs/ref/generic-views.txt
index 65f0d2eb30..a7d67c74e3 100644
--- a/docs/ref/generic-views.txt
+++ b/docs/ref/generic-views.txt
@@ -88,9 +88,15 @@ 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``.
+ * ``query_string``: Whether to pass along the GET query string to
+ the new location. If ``True``, then the query string is appended
+ to the URL. If ``False``, then the query string is discarded. By
+ default, ``query_string`` is ``False``.
+
.. 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