This website requires JavaScript.
Explore
Help
Sign In
test0908
/
django
Watch
1
Star
0
Fork
You've already forked django
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
306d34873c
django
/
tests
/
regressiontests
/
pagination_regress
History
Alex Gaynor
37a894b48c
[py3k] Fixed pagination_regress tests.
2012-08-16 10:54:45 -04:00
..
__init__.py
Fixed
#6997
-- Corrected `num_pages` calculation when one item is in the object list and `allow_empty_first_page=False`, thanks to framos for the report. Also, made Page's `start_index()` return 0 if there are no items in the object list (previously it was returning 1, but now it is consistent with `end_index()`). As an added bonus, I threw in quite a few pagination tests.
2008-07-28 05:30:35 +00:00
models.py
Fixed
#6997
-- Corrected `num_pages` calculation when one item is in the object list and `allow_empty_first_page=False`, thanks to framos for the report. Also, made Page's `start_index()` return 0 if there are no items in the object list (previously it was returning 1, but now it is consistent with `end_index()`). As an added bonus, I threw in quite a few pagination tests.
2008-07-28 05:30:35 +00:00
tests.py
[py3k] Fixed pagination_regress tests.
2012-08-16 10:54:45 -04:00