1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

Fixed #30504 -- Corrected redirect() signature in docs.

This commit is contained in:
Shashank Parekh 2019-05-24 11:56:29 +05:30 committed by Mariusz Felisiak
parent 753b67c58d
commit 8000767769

View File

@ -84,7 +84,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.