Opened 7 years ago

Closed 7 years ago

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

Download all attachments as: .zip

Change History (6)

Changed 7 years ago by arien

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

Changed 7 years ago by arien

patch updated for documentation refactor

comment:1 Changed 7 years ago by arien

  • milestone set to 1.0
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 7 years ago by jacob

  • Triage Stage changed from Unreviewed to Accepted

comment:3 Changed 7 years ago by russellm

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

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

comment:4 Changed 4 years ago by jacob

  • milestone 1.0 deleted

Milestone 1.0 deleted

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