From 3e09b37f80ab34cf57e245e1fcdabb3d4ff92a38 Mon Sep 17 00:00:00 2001 From: Sigurd Ljødal Date: Thu, 28 Sep 2017 22:28:48 +0200 Subject: Fixed #28649 -- Added ExtractIsoYear database function and iso_year lookup. --- docs/releases/2.2.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs/releases') diff --git a/docs/releases/2.2.txt b/docs/releases/2.2.txt index 4d5b763edf..307a2b6a06 100644 --- a/docs/releases/2.2.txt +++ b/docs/releases/2.2.txt @@ -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 ~~~~~~~~~~~~~~~~~~~~~~ -- cgit v1.3