Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#30504 closed Cleanup/optimization (fixed)

Order of arguments on redirect incorrect on documentation.

Reported by: amrish_beauhurst Owned by: Shashank Parekh
Component: Documentation Version: dev
Severity: Normal Keywords: redirect, documentation, parameters
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

On the documentation for the redirect shortcut at https://docs.djangoproject.com/en/dev/topics/http/shortcuts/#redirect

It shows redirect(to, permanent=False, *args, **kwargs) when it should be redirect(to, *args, permanent=False, **kwargs)

Change History (5)

comment:1 by Carlton Gibson, 5 years ago

Triage Stage: UnreviewedAccepted

Yes, good. A quick patch here would be very welcome. 🙂

comment:3 by Mariusz Felisiak, 5 years ago

Has patch: set
Owner: changed from nobody to Shashank Parekh
Status: newassigned
Summary: Order of arguments on redirect incorrect on documentationOrder of arguments on redirect incorrect on documentation.
Type: UncategorizedCleanup/optimization

comment:4 by Mariusz Felisiak <felisiak.mariusz@…>, 5 years ago

Resolution: fixed
Status: assignedclosed

In 80007677:

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

comment:5 by Mariusz Felisiak <felisiak.mariusz@…>, 5 years ago

In 86904c18:

[2.2.x] Fixed #30504 -- Corrected redirect() signature in docs.

Backport of 8000767769ac37ec7f73eb9fcc4b3fc7399a5808 from master

Note: See TracTickets for help on using tickets.
Back to Top