diff options
| author | Hiroki Kiyohara <hirokiky@gmail.com> | 2013-02-13 09:55:43 +0100 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2013-02-13 10:29:32 +0100 |
| commit | e94f405d9499d310ef58b7409a98759a5f5512b0 (patch) | |
| tree | 27d7c6443029cfb2957478d13dce02f5f2580348 /docs/ref | |
| parent | 3a002db6f1ef98d04634911808f9cf1b8e9dceff (diff) | |
Fixed #18558 -- Added url property to HttpResponseRedirect*
Thanks coolRR for the report.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/request-response.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/ref/request-response.txt b/docs/ref/request-response.txt index 717995aea2..30f5e87100 100644 --- a/docs/ref/request-response.txt +++ b/docs/ref/request-response.txt @@ -746,6 +746,13 @@ types of HTTP responses. Like ``HttpResponse``, these subclasses live in domain (e.g. ``'/search/'``). See :class:`HttpResponse` for other optional constructor arguments. Note that this returns an HTTP status code 302. + .. attribute:: HttpResponseRedirect.url + + .. versionadded:: 1.6 + + This read-only attribute represents the URL the response will redirect + to (equivalent to the ``Location`` response header). + .. class:: HttpResponsePermanentRedirect Like :class:`HttpResponseRedirect`, but it returns a permanent redirect |
