Tanner Stirrat
|
17595407ca
|
Fixed #14218 -- Added Paginator.__iter__().
|
2019-10-02 09:49:31 +02:00 |
|
Maxim Kurnikov
|
ff5dfbc63a
|
Fixed false positive tests of Paginator.count property.
|
2019-09-25 09:15:18 +02:00 |
|
Mariusz Felisiak
|
81993b47ea
|
Refs #29703 -- Removed QuerySetPaginator alias per deprecation timeline.
|
2019-09-10 12:01:00 +02:00 |
|
Jon Dufresne
|
d89053585e
|
Improved error message when index in __getitem__() is invalid.
|
2019-07-23 20:12:08 +02:00 |
|
Simon Charette
|
84e7a9f4a7
|
Switched setUp() to setUpTestData() where possible in Django's tests.
|
2018-11-27 09:35:17 -05:00 |
|
Nick Pope
|
ed4bfacb3c
|
Fixed #29703 -- Deprecated QuerySetPaginator alias.
Unused since 4406d283e1 .
|
2018-08-27 16:23:43 -04:00 |
|
Josh Schneier
|
3767c7ff39
|
Fixed #29244 -- Prevented Paginator.count() from silencing TypeError and AttributeError.
|
2018-08-07 17:41:18 -04:00 |
|
luz.paz
|
97e637a87f
|
Fixed typos in comments and docs.
|
2018-08-01 16:09:22 -04:00 |
|
Josh Schneier
|
4d48ddd8f9
|
Fixed #28917 -- Prevented Paginator's unordered warning on EmptyQuerySet.
Thanks carltongibson for the idea and weijunji for the initial patch.
|
2018-07-16 14:28:47 -04:00 |
|
Morgan Aubert
|
704443acac
|
Fixed #29363 -- Added SimpleTestCase.assertWarnsMessage().
|
2018-05-09 11:40:28 -04:00 |
|
Nicolas Noé
|
c629d4e956
|
Fixed #29389 -- Made Paginator reject non-integer page numbers of type float.
|
2018-05-09 09:28:52 -04:00 |
|
Nicolas Noé
|
2134e7d439
|
Refs #29389 -- Added Paginator test for float page number.
|
2018-05-09 09:23:05 -04:00 |
|
Sami J. Lehtinen
|
407c1249c9
|
Fixed #28032 -- Added Paginator.get_page().
Moved boilerplate from docs to a method.
|
2017-09-06 14:17:19 -04:00 |
|
Jon Dufresne
|
fa283067c9
|
Removed unnecessary empty parentheses in class definitions.
|
2017-06-26 10:31:32 -04:00 |
|
orf
|
a118287bca
|
Fixed #28284 -- Prevented Paginator's unordered object list warning from evaluating a QuerySet.
|
2017-06-13 08:13:17 -04:00 |
|
Simon Charette
|
c0f12a098c
|
Fixed #28109 -- Corrected the stack level of unordered queryset pagination warnings.
Refs #26290.
Thanks Tim for the review.
|
2017-04-22 14:08:57 -04:00 |
|
chillaranand
|
d6eaf7c018
|
Refs #23919 -- Replaced super(ClassName, self) with super().
|
2017-01-25 12:23:46 -05:00 |
|
Simon Charette
|
cecc079168
|
Refs #23919 -- Stopped inheriting from object to define new style classes.
|
2017-01-19 08:39:46 +01:00 |
|
Claude Paroz
|
2b281cc35e
|
Refs #23919 -- Removed most of remaining six usage
Thanks Tim Graham for the review.
|
2017-01-18 21:33:28 +01:00 |
|
Claude Paroz
|
7b2f2e74ad
|
Refs #23919 -- Removed six.<various>_types usage
Thanks Tim Graham and Simon Charette for the reviews.
|
2017-01-18 20:18:46 +01:00 |
|
Claude Paroz
|
f3c43ad1fd
|
Refs #23919 -- Removed python_2_unicode_compatible decorator usage
|
2017-01-18 13:44:34 +01:00 |
|
Claude Paroz
|
d7b9aaa366
|
Refs #23919 -- Removed encoding preambles and future imports
|
2017-01-18 09:55:19 +01:00 |
|
za
|
321e94fa41
|
Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.
|
2016-11-10 21:30:21 -05:00 |
|
Emad Mokhtar
|
c4980e28e5
|
Fixed #26290 -- Warned that paginating an unordered QuerySet may result in inconsistent results.
|
2016-06-08 14:09:24 -04:00 |
|
Tim Graham
|
92053acbb9
|
Fixed E128 flake8 warnings in tests/.
|
2016-04-08 10:12:33 -04:00 |
|
Hasan
|
3d0dcd7f5a
|
Refs #26022 -- Used context manager version of assertRaises in tests.
|
2016-01-29 12:32:18 -05:00 |
|
Rigel Di Scala
|
b91a2a499f
|
Fixed #23190 -- Made Paginator.page_range an iterator
|
2015-07-03 11:34:34 -04:00 |
|
Tim Graham
|
0ed7d15563
|
Sorted imports with isort; refs #23860.
|
2015-02-06 08:16:28 -05:00 |
|
Berker Peksag
|
f7969b0920
|
Fixed #23620 -- Used more specific assertions in the Django test suite.
|
2014-11-03 11:56:37 -05:00 |
|
Florian Apolloner
|
40fb6a5601
|
Revert "Fixed #23088 -- Used six range type in Paginator.page_range ."
This reverts commit 6508db2ff9 .
Refs #23088.
|
2014-08-03 21:08:24 +02:00 |
|
Moayad Mardini
|
6508db2ff9
|
Fixed #23088 -- Used six range type in Paginator.page_range .
|
2014-07-25 11:04:58 +03:00 |
|
Rodolfo Carvalho
|
0d91225892
|
Fixed many typos in comments and docstrings.
Thanks Piotr Kasprzyk for help with the patch.
|
2014-03-03 07:38:09 -05:00 |
|
Alasdair Nicol
|
b289fcf1bf
|
Fixed #21288 -- Fixed E126 pep8 warnings
|
2013-10-21 08:31:30 -04:00 |
|
Alasdair Nicol
|
a800036981
|
Fixed #21287 -- Fixed E123 pep8 warnings
|
2013-10-18 10:07:39 +01:00 |
|
Claude Paroz
|
5c1143910e
|
Removed most of absolute_import imports
Should be unneeded with Python 2.7 and up.
Added some unicode_literals along the way.
|
2013-07-29 20:28:13 +02:00 |
|
Aymeric Augustin
|
cfcf4b3605
|
Stopped using django.utils.unittest in the test suite.
Refs #20680.
|
2013-07-01 14:29:33 +02:00 |
|
Andrew Jesaitis
|
31f6421b13
|
Fixed #19938 -- Consumed iterator only once in paginator's Page
Thanks Joshua Fialkoff for the report.
|
2013-05-25 16:27:26 +02:00 |
|
Florian Apolloner
|
89f40e3624
|
Merged regressiontests and modeltests into the test root.
|
2013-02-26 14:36:57 +01:00 |
|