mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #28649 -- Added ExtractIsoYear database function and iso_year lookup.
This commit is contained in:
committed by
Tim Graham
parent
c832885a3e
commit
3e09b37f80
@@ -189,6 +189,11 @@ Models
|
||||
:meth:`.QuerySet.bulk_create` to ``True`` tells the database to ignore
|
||||
failure to insert rows that fail uniqueness constraints or other checks.
|
||||
|
||||
* The new :class:`~django.db.models.functions.ExtractIsoYear` function extracts
|
||||
ISO-8601 week-numbering years from :class:`~django.db.models.DateField` and
|
||||
:class:`~django.db.models.DateTimeField`, and the new :lookup:`iso_year`
|
||||
lookup allows querying by an ISO-8601 week-numbering year.
|
||||
|
||||
Requests and Responses
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user