Code

Opened 6 months ago

Closed 6 months ago

Last modified 6 months 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

Attachments (0)

Change History (4)

comment:1 Changed 6 months ago by bmispelon

  • Component changed from Uncategorized to contrib.auth
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted
  • Version changed from 1.4 to master

comment:2 Changed 6 months ago by Tim Graham <timograham@…>

  • Resolution set to fixed
  • Status changed from new to closed

In 51e65754729ebb85b1f049e7995cae514be65c85:

Fixed #21294 -- Clarified the logout next_page argument.

Thanks wim at go2people.nl for the report.

comment:3 Changed 6 months 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 6 months 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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.