Changes between Initial Version and Version 2 of Ticket #17159


Ignore:
Timestamp:
Nov 6, 2011, 11:59:07 PM (13 years ago)
Author:
Julien Phalip
Comment:

That makes sense. It would be a matter of calling Page.paginator.validate_number().

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17159

    • Property Owner changed from nobody to mehta.apurva@…
    • Property Triage Stage UnreviewedAccepted
  • Ticket #17159 – Description

    initial v2  
    33Repro Steps
    44=======
     5{{{#!python
    56>>> from django.core.paginator import Paginator
    67>>> objects = ['john', 'paul', 'george', 'ringo', 'bill', 'gates', 'steve', 'jobs']
     
    2021>>> p.page(4).next_page_number() ### Should throw Exception
    21225
    22 >>>
     23}}}
Back to Top