1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Fixed #30821 -- Added ExtractIsoWeekYear database function and iso_week_day lookup.

This commit is contained in:
Anatol Ulrich
2019-10-01 00:12:19 +02:00
committed by Mariusz Felisiak
parent e1aa932802
commit 8ed6788aa4
11 changed files with 152 additions and 30 deletions

View File

@@ -160,7 +160,10 @@ Migrations
Models
~~~~~~
* ...
* The new :class:`~django.db.models.functions.ExtractIsoWeekDay` function
extracts ISO-8601 week days from :class:`~django.db.models.DateField` and
:class:`~django.db.models.DateTimeField`, and the new :lookup:`iso_week_day`
lookup allows querying by an ISO-8601 day of week.
Pagination
~~~~~~~~~~