0
0
mirror of https://github.com/django/django.git synced 2024-11-30 23:20:50 +01:00

Added missing import in ref/models/database-functions.txt.

This commit is contained in:
Mariusz Felisiak 2019-10-02 08:34:05 +02:00
parent 17595407ca
commit e1aa932802

View File

@ -357,7 +357,7 @@ Each class is also a ``Transform`` registered on ``DateTimeField`` as
>>> from django.db.models.functions import (
... ExtractDay, ExtractHour, ExtractMinute, ExtractMonth,
... ExtractQuarter, ExtractSecond, ExtractWeek, ExtractWeekDay,
... ExtractYear,
... ExtractIsoYear, ExtractYear,
... )
>>> start_2015 = datetime(2015, 6, 15, 23, 30, 1, tzinfo=timezone.utc)
>>> end_2015 = datetime(2015, 6, 16, 13, 11, 27, tzinfo=timezone.utc)