diff options
Diffstat (limited to 'docs/ref/models/database-functions.txt')
| -rw-r--r-- | docs/ref/models/database-functions.txt | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/docs/ref/models/database-functions.txt b/docs/ref/models/database-functions.txt index 494c175843..d39ed5001b 100644 --- a/docs/ref/models/database-functions.txt +++ b/docs/ref/models/database-functions.txt @@ -178,10 +178,6 @@ Django usually uses the databases' extract function, so you may use any ``lookup_name`` that your database supports. A ``tzinfo`` subclass, usually provided by ``pytz``, can be passed to extract a value in a specific timezone. -.. versionchanged:: 2.0 - - Support for ``DurationField`` was added. - Given the datetime ``2015-06-15 23:30:01.000321+00:00``, the built-in ``lookup_name``\s return: @@ -274,8 +270,6 @@ Usage example:: .. class:: ExtractQuarter(expression, tzinfo=None, **extra) - .. versionadded:: 2.0 - .. attribute:: lookup_name = 'quarter' These are logically equivalent to ``Extract('date_field', lookup_name)``. Each @@ -517,8 +511,6 @@ Usage example:: .. class:: TruncQuarter(expression, output_field=None, tzinfo=None, **extra) - .. versionadded:: 2.0 - .. attribute:: kind = 'quarter' These are logically equivalent to ``Trunc('date_field', kind)``. They truncate @@ -938,8 +930,6 @@ spaces. .. class:: StrIndex(string, substring, **extra) -.. versionadded:: 2.0 - Returns a positive integer corresponding to the 1-indexed position of the first occurrence of ``substring`` inside ``string``, or 0 if ``substring`` is not found. @@ -1028,8 +1018,6 @@ Usage example:: Window functions ================ -.. versionadded:: 2.0 - There are a number of functions to use in a :class:`~django.db.models.expressions.Window` expression for computing the rank of elements or the :class:`Ntile` of some rows. |
