1
0
mirror of https://github.com/django/django.git synced 2024-12-25 02:26:12 +00:00
django/tests
2008-07-28 05:30:35 +00:00
..
modeltests Made the Paginator class a bit more backwards compatible with the lecacy ObjectPaginator class by using the ObjectPaginator's _get_count method. Instead of explicitly checking for an instance of QuerySet, this now allows any object with a count() or __len__() method defined to be passed to Paginator. For one, this is useful when you have custom QuerySet-like classes that implement a count() method but don't inherit from QuerySet explicitly. 2008-07-27 23:01:55 +00:00
regressiontests 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
templates Merged the newforms-admin branch into trunk. 2008-07-18 23:54:34 +00:00
runtests.py Fixed #6168 -- Updated the Django system test runner to make it possible to run the invalid_models test (and any other invalid_ test) explicitly, rather than just as part of the full suite. Thanks for tracking down the problem, Eric Florenzano. 2008-06-06 12:55:38 +00:00
urls.py Merged the newforms-admin branch into trunk. 2008-07-18 23:54:34 +00:00