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