[2.2.x] Fixed #30504 -- Corrected redirect() signature in docs.
Backport of 8000767769
from master
This commit is contained in:
parent
2f0dcd8238
commit
86904c1850
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue