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

Fixed #32573 -- Fixed bounds in __iso_year lookup optimization.

This commit is contained in:
Florian Demmer
2021-03-18 12:59:55 +01:00
committed by Mariusz Felisiak
parent 6efc35b4fe
commit 3a185cee2a
4 changed files with 50 additions and 12 deletions

View File

@@ -289,7 +289,10 @@ Database backend API
This section describes changes that may be needed in third-party database
backends.
* ...
* ``DatabaseOperations.year_lookup_bounds_for_date_field()`` and
``year_lookup_bounds_for_datetime_field()`` methods now take the optional
``iso_year`` argument in order to support bounds for ISO-8601 week-numbering
years.
:mod:`django.contrib.gis`
-------------------------