diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2011-03-15 08:24:31 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2011-03-15 08:24:31 +0000 |
| commit | 87a100b642316a5eb0db6299350208b6ed8f9248 (patch) | |
| tree | dde27e6c6c1ef33a42b6d5e954adb1fece8a949e /tests | |
| parent | c966566171a0480ea64774f7468c6d218b1088d5 (diff) | |
Fixed #15575 -- Corrected handling of pagination in generic views to match documentation and historical behavior. Thanks to Ivan Virabyan for the report and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15820 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/regressiontests/generic_views/list.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regressiontests/generic_views/list.py b/tests/regressiontests/generic_views/list.py index b784f4d659..c41680c701 100644 --- a/tests/regressiontests/generic_views/list.py +++ b/tests/regressiontests/generic_views/list.py @@ -46,7 +46,7 @@ class ListViewTests(TestCase): self.assertIs(res.context['author_list'], res.context['object_list']) self.assertEqual(res.context['page_obj'].number, 1) self.assertEqual(res.context['paginator'].num_pages, 1) - self.assertTrue(res.context['is_paginated']) + self.assertFalse(res.context['is_paginated']) def test_paginated_get_page_by_query_string(self): self._make_authors(100) |
