summaryrefslogtreecommitdiff
path: root/tests/get_earliest_or_latest
Commit message (Expand)AuthorAgeFilesLines
* Fixed #33772 -- Added QuerySet.first()/last() error message on unordered quer...Pablo Pissi2022-06-142-1/+25
* Removed redundant QuerySet.all() calls in docs and tests.Nick Pope2022-02-221-2/+2
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-072-49/+87
* Refs #32508 -- Raised TypeError instead of using "assert" on unsupported oper...Mariusz Felisiak2021-03-101-0/+10
* Refs #11557 -- Removed the field_name keyword argument to QuerySet.earliest()...Tim Graham2019-01-171-20/+0
* Fixed #29363 -- Added SimpleTestCase.assertWarnsMessage().Morgan Aubert2018-05-091-9/+5
* Fixed #11557 -- Added support for a list of fields in Meta.get_latest_by and ...François Freitag2017-09-051-12/+63
* Removed hardcoding from get_earliest_or_latest tests' tearDown().François Freitag2017-09-051-3/+6
* Avoided creating temporary lists for obtaining the first item.Sergey Fedoseev2017-07-311-1/+1
* Used assertRaisesMessage() to test Django's error messages.Mads Jensen2017-07-291-1/+5
* Refs #23919 -- Removed encoding preambles and future importsClaude Paroz2017-01-181-2/+0
* Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za2016-11-101-30/+15
* Made multiline assertRaises* conform to flake8's E128 rule.Hasan2016-02-041-2/+3
* Refs #26022 -- Used context manager version of assertRaisesMessage in tests.Hasan2016-01-291-9/+8
* Refs #26022 -- Used context manager version of assertRaises in tests.Hasan2016-01-291-6/+12
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-1/+1
* Fixed #23555 -- Avoided suppressing IndexError in QuerySet.first() and .last()Artem Rizhov2014-10-082-1/+40
* Removed unused local variables in tests.Tim Graham2013-10-191-4/+4
* Removed most of absolute_import importsClaude Paroz2013-07-291-1/+1
* Fixed #19326 -- Added first() and last() methods to QuerySetSelwin Ong2013-05-211-0/+31
* Merged regressiontests and modeltests into the test root.Florian Apolloner2013-02-263-0/+139