diff options
| author | Gary Wilson Jr <gary.wilson@gmail.com> | 2008-07-28 05:30:35 +0000 |
|---|---|---|
| committer | Gary Wilson Jr <gary.wilson@gmail.com> | 2008-07-28 05:30:35 +0000 |
| commit | 96cf3656c48f6c42714a70b4546bc42f7b904185 (patch) | |
| tree | 08ba032116d3ad2c0a22cf67d5dfc8dd0ef2980b /docs/modpython.txt | |
| parent | 19c7db005823efc2da73ca3bcb37ee15451589c8 (diff) | |
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.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8129 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/modpython.txt')
0 files changed, 0 insertions, 0 deletions
