Opened 16 years ago

Closed 16 years ago

Last modified 13 years ago

#8407 closed (fixed)

docs: incorrect output shown for Paginator use in interactive session

Reported by: arien Owned by: nobody
Component: Documentation Version: dev
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The docs show an session at the Python prompt where a Paginator's page method throws an InvalidPage exception for pages that don't have any objects; the actual exception thrown is an EmptyPage. While EmptyPage descends from InvalidPage, the display is incorrect and may well confuse people.

Attachments (2)

pagination-docs.diff (1.1 KB ) - added by arien 16 years ago.
Fix to use actual output,. Also corects two (unrelated) glitches while we're here.
pagination-docs-r8629.diff (1.3 KB ) - added by arien 16 years ago.
patch updated for documentation refactor

Download all attachments as: .zip

Change History (6)

by arien, 16 years ago

Attachment: pagination-docs.diff added

Fix to use actual output,. Also corects two (unrelated) glitches while we're here.

by arien, 16 years ago

Attachment: pagination-docs-r8629.diff added

patch updated for documentation refactor

comment:1 by arien, 16 years ago

milestone: 1.0

comment:2 by Jacob, 16 years ago

Triage Stage: UnreviewedAccepted

comment:3 by Russell Keith-Magee, 16 years ago

Resolution: fixed
Status: newclosed

(In [8659]) Fixed #8407: Corrected some output in the Paginator docs. Thanks to arien for the patch.

comment:4 by Jacob, 13 years ago

milestone: 1.0

Milestone 1.0 deleted

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