Opened 17 years ago

Closed 17 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
Pull Requests:How to create a pull request

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.

Change History (6)

by arien, 17 years ago

Attachment: pagination-docs.diff added

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

by arien, 17 years ago

Attachment: pagination-docs-r8629.diff added

patch updated for documentation refactor

comment:1 by arien, 17 years ago

milestone: 1.0

comment:2 by Jacob, 17 years ago

Triage Stage: UnreviewedAccepted

comment:3 by Russell Keith-Magee, 17 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