[2.2.x] Fixed #30504 -- Corrected redirect() signature in docs.

Backport of 8000767769 from master
This commit is contained in:
Shashank Parekh 2019-05-24 11:56:29 +05:30 committed by Mariusz Felisiak
parent 2f0dcd8238
commit 86904c1850
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ This example is equivalent to::
``redirect()`` ``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 Returns an :class:`~django.http.HttpResponseRedirect` to the appropriate URL
for the arguments passed. for the arguments passed.