Code

Changes between Initial Version and Version 2 of Ticket #17159


Ignore:
Timestamp:
11/06/11 21:59:07 (2 years ago)
Author:
julien
Comment:

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

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17159

    • Property Patch needs improvement unset
    • Property Needs tests unset
    • Property Owner changed from nobody to mehta.apurva@…
    • Property Needs documentation unset
    • Property Triage Stage changed from Unreviewed to Accepted
  • 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}}}