summaryrefslogtreecommitdiff
path: root/tests/get_earliest_or_latest
AgeCommit message (Expand)Author
2026-02-06Fixed #36644 -- Enabled empty order_by() to avoid pk ordering by first()/last().Nilesh Kumar Pahari
2025-07-23Refs #36500 -- Rewrapped long docstrings and block comments via a script.django-bot
2022-06-14Fixed #33772 -- Added QuerySet.first()/last() error message on unordered quer...Pablo Pissi
2022-02-22Removed redundant QuerySet.all() calls in docs and tests.Nick Pope
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-03-10Refs #32508 -- Raised TypeError instead of using "assert" on unsupported oper...Mariusz Felisiak
2019-01-17Refs #11557 -- Removed the field_name keyword argument to QuerySet.earliest()...Tim Graham
2018-05-09Fixed #29363 -- Added SimpleTestCase.assertWarnsMessage().Morgan Aubert
2017-09-05Fixed #11557 -- Added support for a list of fields in Meta.get_latest_by and ...François Freitag
2017-09-05Removed hardcoding from get_earliest_or_latest tests' tearDown().François Freitag
2017-07-31Avoided creating temporary lists for obtaining the first item.Sergey Fedoseev
2017-07-29Used assertRaisesMessage() to test Django's error messages.Mads Jensen
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
2016-02-04Made multiline assertRaises* conform to flake8's E128 rule.Hasan
2016-01-29Refs #26022 -- Used context manager version of assertRaisesMessage in tests.Hasan
2016-01-29Refs #26022 -- Used context manager version of assertRaises in tests.Hasan
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2014-10-08Fixed #23555 -- Avoided suppressing IndexError in QuerySet.first() and .last()Artem Rizhov
2013-10-19Removed unused local variables in tests.Tim Graham
2013-07-29Removed most of absolute_import importsClaude Paroz
2013-05-21Fixed #19326 -- Added first() and last() methods to QuerySetSelwin Ong
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner