Changes between Initial Version and Version 1 of Ticket #14218


Ignore:
Timestamp:
09/02/2010 01:40:15 PM (5 years ago)
Author:
Alex
Comment:

Reformatted, please use the preview button in the future.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14218

    • Property Patch needs improvement unset
    • Property Needs tests unset
    • Property Needs documentation unset
  • Ticket #14218 – Description

    initial v1  
    11Right now, when you want to iter into all the pages of a Paginator object you to use the page_range function. It would be more logical and naturel to use the normal python of doing that by implementing the __iter__ function like that:
    2 
     2{{{
    33def __iter__(self):
    44    for page_num in self.page_range:
    55        yield self.page(page_num)
     6}}}
Back to Top