Opened 8 years ago

Closed 8 years ago

Last modified 5 years ago

#8407 closed (fixed)

docs: incorrect output shown for Paginator use in interactive session

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

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 8 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 8 years ago.
patch updated for documentation refactor

Download all attachments as: .zip

Change History (6)

Changed 8 years ago by arien

Attachment: pagination-docs.diff added

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

Changed 8 years ago by arien

Attachment: pagination-docs-r8629.diff added

patch updated for documentation refactor

comment:1 Changed 8 years ago by arien

milestone: 1.0

comment:2 Changed 8 years ago by Jacob

Triage Stage: UnreviewedAccepted

comment:3 Changed 8 years ago by Russell Keith-Magee

Resolution: fixed
Status: newclosed

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

comment:4 Changed 5 years ago by Jacob

milestone: 1.0

Milestone 1.0 deleted

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