Fixed #11557 -- Added support for a list of fields in Meta.get_latest_by and QuerySet.earliest()/latest().

This commit is contained in:
François Freitag 2017-06-21 13:28:16 -07:00 committed by Tim Graham
parent 093fd479d6
commit ad4a8acdb5
7 changed files with 137 additions and 32 deletions

View file

@ -26,6 +26,9 @@ details on these changes.
* Support for the ``context`` argument of ``Field.from_db_value()`` and
``Expression.convert_value()`` will be removed.
* The ``field_name`` keyword argument of ``QuerySet.earliest()` and
``latest()`` will be removed.
.. _deprecation-removed-in-2.1:
2.1