1
0
mirror of https://github.com/django/django.git synced 2025-06-05 03:29:12 +00:00

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

Backport of 8000767769ac37ec7f73eb9fcc4b3fc7399a5808 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

View File

@ -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.