Explorar o código

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

Shashank Parekh %!s(int64=5) %!d(string=hai) anos
pai
achega
8000767769
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      docs/topics/http/shortcuts.txt

+ 1 - 1
docs/topics/http/shortcuts.txt

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