diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2017-10-13 18:20:11 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-10-13 18:20:11 +0200 |
| commit | ad8036d715d4447b95d485332511b4edb1a40c0e (patch) | |
| tree | ed42de8f5246bec6d865c3c51c1159735131ca99 /docs/releases/2.0.txt | |
| parent | 3ffbd54566f51e4ac3d90fc6be8b3ab56fc89b75 (diff) | |
Refs #28643 -- Reorganized database functions docs.
Thanks Tim Graham for the review.
Diffstat (limited to 'docs/releases/2.0.txt')
| -rw-r--r-- | docs/releases/2.0.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/releases/2.0.txt b/docs/releases/2.0.txt index 1ee994b613..04ff9f5402 100644 --- a/docs/releases/2.0.txt +++ b/docs/releases/2.0.txt @@ -245,20 +245,20 @@ Models :attr:`Meta.get_latest_by <django.db.models.Options.get_latest_by>` now allow ordering by several fields. -* Added the :class:`~django.db.models.functions.datetime.ExtractQuarter` - function to extract the quarter from :class:`~django.db.models.DateField` and +* Added the :class:`~django.db.models.functions.ExtractQuarter` function to + extract the quarter from :class:`~django.db.models.DateField` and :class:`~django.db.models.DateTimeField`, and exposed it through the :lookup:`quarter` lookup. -* Added the :class:`~django.db.models.functions.datetime.TruncQuarter` - function to truncate :class:`~django.db.models.DateField` and +* Added the :class:`~django.db.models.functions.TruncQuarter` function to + truncate :class:`~django.db.models.DateField` and :class:`~django.db.models.DateTimeField` to the first day of a quarter. * Added the :attr:`~django.db.models.Index.db_tablespace` parameter to class-based indexes. * If the database supports a native duration field (Oracle and PostgreSQL), - :class:`~django.db.models.functions.datetime.Extract` now works with + :class:`~django.db.models.functions.Extract` now works with :class:`~django.db.models.DurationField`. * Added the ``of`` argument to :meth:`.QuerySet.select_for_update()`, supported |
