1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Refs #29724 -- Added is_dst parameter to QuerySet.datetimes().

Thanks Simon Charette for the review and Mariusz Felisiak for tests.
This commit is contained in:
Hasan Ramezani
2020-02-18 18:12:51 +01:00
committed by Mariusz Felisiak
parent 2695ac8e04
commit 53b6a466d8
4 changed files with 56 additions and 3 deletions

View File

@@ -324,6 +324,9 @@ Models
:meth:`~.RelatedManager.set` methods now accept callables as values in the
``through_defaults`` argument.
* The new ``is_dst`` parameter of the :meth:`.QuerySet.datetimes` determines
the treatment of nonexistent and ambiguous datetimes.
Pagination
~~~~~~~~~~