diff options
| author | Shashank Parekh <shashank201101193@gmail.com> | 2019-05-24 11:56:29 +0530 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-05-24 08:27:10 +0200 |
| commit | 86904c1850bf36cccbeaaa4d82daaf1269b23c60 (patch) | |
| tree | 10ef581d950554a95fbfa26111821115884fd883 | |
| parent | 2f0dcd8238f7b1cd24063effcfb4c8f7200f41ad (diff) | |
[2.2.x] Fixed #30504 -- Corrected redirect() signature in docs.
Backport of 8000767769ac37ec7f73eb9fcc4b3fc7399a5808 from master
| -rw-r--r-- | docs/topics/http/shortcuts.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/http/shortcuts.txt b/docs/topics/http/shortcuts.txt index 1aca4ce287..8448e4a8ad 100644 --- a/docs/topics/http/shortcuts.txt +++ b/docs/topics/http/shortcuts.txt @@ -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. |
