1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed #25871 -- Added expressions support to QuerySet.values().

This commit is contained in:
Ian Foote
2016-08-15 11:35:12 +10:00
committed by Tim Graham
parent d4eefc7e2a
commit 39f35d4b9d
4 changed files with 115 additions and 7 deletions

View File

@@ -227,6 +227,9 @@ Models
to truncate :class:`~django.db.models.DateTimeField` to its time component
and exposed it through the :lookup:`time` lookup.
* Added support for expressions in :meth:`.QuerySet.values` and
:meth:`~.QuerySet.values_list`.
Requests and Responses
~~~~~~~~~~~~~~~~~~~~~~