Opened 11 years ago

Closed 11 years ago

Last modified 11 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: dev
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 by Baptiste Mispelon, 11 years ago

Component: Uncategorizedcontrib.auth
Triage Stage: UnreviewedAccepted
Version: 1.4master

comment:2 by Tim Graham <timograham@…>, 11 years ago

Resolution: fixed
Status: newclosed

In 51e65754729ebb85b1f049e7995cae514be65c85:

Fixed #21294 -- Clarified the logout next_page argument.

Thanks wim at go2people.nl for the report.

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

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 by Tim Graham <timograham@…>, 11 years ago

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