Skip to content

Commit

Permalink
[2.2.x] Fixed #30504 -- Corrected redirect() signature in docs.
Browse files Browse the repository at this point in the history
Backport of 8000767 from master
  • Loading branch information
sp1rs authored and felixxm committed May 24, 2019
1 parent 2f0dcd8 commit 86904c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/topics/http/shortcuts.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 86904c1

Please sign in to comment.