summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorShashank Parekh <shashank201101193@gmail.com>2019-05-24 11:56:29 +0530
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2019-05-24 08:26:29 +0200
commit8000767769ac37ec7f73eb9fcc4b3fc7399a5808 (patch)
treede1f98390459b51f60efd3ab6169e67ad97fcade /docs
parent753b67c58de8021487af7cafa4241e8326aa5508 (diff)
Fixed #30504 -- Corrected redirect() signature in docs.
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/http/shortcuts.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/http/shortcuts.txt b/docs/topics/http/shortcuts.txt
index 68e8fa3bf9..2fedec5ed4 100644
--- a/docs/topics/http/shortcuts.txt
+++ b/docs/topics/http/shortcuts.txt
@@ -84,7 +84,7 @@ This example is equivalent to::
``redirect()``
==============
-.. function:: redirect(to, permanent=False, *args, **kwargs)
+.. function:: redirect(to, *args, permanent=False, **kwargs)
Returns an :class:`~django.http.HttpResponseRedirect` to the appropriate URL
for the arguments passed.