Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#21294 closed Cleanup/optimization (fixed)

Clarification of documentation logout next_page in GET

Reported by: wim@… Owned by: nobody
Component: contrib.auth Version: master
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

Currently, logout's documentation does not state clearly that the GET parameter for the redirect view is "next" by default.

"""Overrides next_page if the given GET parameter is passed.""" seems to imply the default name is "next_page", but actually it is "next".

Current documentation: https://docs.djangoproject.com/en/dev/topics/auth/default/#django.contrib.auth.views.logout

Change History (4)

comment:1 Changed 3 years ago by Baptiste Mispelon

Component: Uncategorizedcontrib.auth
Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Triage Stage: UnreviewedAccepted
Version: 1.4master

comment:2 Changed 3 years ago by Tim Graham <timograham@…>

Resolution: fixed
Status: newclosed

In 51e65754729ebb85b1f049e7995cae514be65c85:

Fixed #21294 -- Clarified the logout next_page argument.

Thanks wim at go2people.nl for the report.

comment:3 Changed 3 years ago by Tim Graham <timograham@…>

In 3ec994de2af20def51da54a510cb264d744ea48b:

[1.5.x] Fixed #21294 -- Clarified the logout next_page argument.

Thanks wim at go2people.nl for the report.

Backport of 51e6575472 from master

comment:4 Changed 3 years ago by Tim Graham <timograham@…>

In 1cdf7f83ff9d0a7046ec99d035b82a5bd93838c7:

[1.6.x] Fixed #21294 -- Clarified the logout next_page argument.

Thanks wim at go2people.nl for the report.

Backport of 51e6575472 from master

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