From 8000767769ac37ec7f73eb9fcc4b3fc7399a5808 Mon Sep 17 00:00:00 2001 From: Shashank Parekh Date: Fri, 24 May 2019 11:56:29 +0530 Subject: [PATCH] Fixed #30504 -- Corrected redirect() signature in docs. --- docs/topics/http/shortcuts.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.