Code

Opened 6 years ago

Closed 6 years ago

#7127 closed (fixed)

page_not_found (404 view) docstring looks wrong

Reported by: kcarnold Owned by: nobody
Component: Core (Other) Version: master
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

django.views.defaults.page_not_found docstring starts off:

    Default 404 handler, which looks for the requested URL in the redirects
    table, redirects if found, and displays 404 page if not redirected.

The code doesn't do anything about redirects. Odd?

Attachments (1)

7127.diff (526 bytes) - added by Simon Greenhill 6 years ago.

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by Simon Greenhill

comment:1 Changed 6 years ago by Simon Greenhill

  • Has patch set
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Ready for checkin

Hmm.. I can't see anything about redirecting in there either.

comment:2 Changed 6 years ago by adrian

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

(In [7650]) Fixed #7127 -- Fixed incorrect docstring for page_not_found() view. Thanks, kcarnold and Simon Greenhill

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.