diff options
| author | Matthew Wilkes <git@matthewwilkes.name> | 2017-06-18 16:53:40 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-02-10 19:08:55 -0500 |
| commit | 2162f0983de0dfe2178531638ce7ea56f54dd4e7 (patch) | |
| tree | bb1e859159200fa7ebeeaa02ec3908e1cf5d2655 /docs/releases | |
| parent | bf26f66029bca94b007a2452679ac004598364a6 (diff) | |
Fixed #24747 -- Allowed transforms in QuerySet.order_by() and distinct(*fields).
Diffstat (limited to 'docs/releases')
| -rw-r--r-- | docs/releases/2.1.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/releases/2.1.txt b/docs/releases/2.1.txt index ae3dd67bc9..31252432bb 100644 --- a/docs/releases/2.1.txt +++ b/docs/releases/2.1.txt @@ -187,6 +187,9 @@ Models * Query expressions can now be negated using a minus sign. +* :meth:`.QuerySet.order_by` and :meth:`distinct(*fields) <.QuerySet.distinct>` + now support using field transforms. + Requests and Responses ~~~~~~~~~~~~~~~~~~~~~~ @@ -242,6 +245,9 @@ Database backend API * Renamed the ``allow_sliced_subqueries`` database feature flag to ``allow_sliced_subqueries_with_in``. +* ``DatabaseOperations.distinct_sql()`` now requires an additional ``params`` + argument and returns a tuple of SQL and parameters instead of a SQL string. + :mod:`django.contrib.gis` ------------------------- |
