Django

Code

Ticket #7127 (closed: fixed)

Opened 7 months ago

Last modified 6 months ago

page_not_found (404 view) docstring looks wrong

Reported by: kcarnold Assigned to: nobody
Milestone: Component: Core framework
Version: SVN Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

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

7127.diff (0.5 kB) - added by Simon Greenhill on 06/14/08 07:57:01.

Change History

06/14/08 07:57:01 changed by Simon Greenhill

  • attachment 7127.diff added.

06/14/08 07:57:29 changed by Simon Greenhill

  • needs_better_patch changed.
  • has_patch set to 1.
  • stage changed from Unreviewed to Ready for checkin.
  • needs_tests changed.
  • needs_docs changed.

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

06/15/08 22:41:03 changed by adrian

  • status changed from new to closed.
  • resolution set to fixed.

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


Add/Change #7127 (page_not_found (404 view) docstring looks wrong)




Change Properties
Action