mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #13312 -- Allowed specifying the order of null fields in queries.
Thanks Mariusz Felisiak for finishing the patch.
This commit is contained in:
committed by
Tim Graham
parent
82fd779af5
commit
47ef8f31f3
@@ -337,6 +337,11 @@ Models
|
||||
* You can now use the ``unique=True`` option with
|
||||
:class:`~django.db.models.FileField`.
|
||||
|
||||
* Added the ``nulls_first`` and ``nulls_last`` parameters to
|
||||
:class:`Expression.asc() <django.db.models.Expression.asc>` and
|
||||
:meth:`~django.db.models.Expression.desc` to control
|
||||
the ordering of null values.
|
||||
|
||||
Requests and Responses
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user