mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #28650 -- Added TruncWeek database function.
This commit is contained in:
committed by
Tim Graham
parent
f229049d6c
commit
a455e732a0
@@ -173,6 +173,10 @@ Models
|
||||
* The new :class:`~django.db.models.functions.Replace` database function
|
||||
replaces strings in an expression.
|
||||
|
||||
* The new :class:`~django.db.models.functions.TruncWeek` function truncates
|
||||
:class:`~django.db.models.DateField` and
|
||||
:class:`~django.db.models.DateTimeField` to the Monday of a week.
|
||||
|
||||
Requests and Responses
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user