From 86904c1850bf36cccbeaaa4d82daaf1269b23c60 Mon Sep 17 00:00:00 2001 From: Shashank Parekh Date: Fri, 24 May 2019 11:56:29 +0530 Subject: [PATCH] [2.2.x] Fixed #30504 -- Corrected redirect() signature in docs. Backport of 8000767769ac37ec7f73eb9fcc4b3fc7399a5808 from master --- 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 1aca4ce287..8448e4a8ad 100644 --- a/docs/topics/http/shortcuts.txt +++ b/docs/topics/http/shortcuts.txt @@ -95,7 +95,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.