summaryrefslogtreecommitdiff
path: root/docs/ref/models/database-functions.txt
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2021-09-16 07:43:34 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-09-20 21:23:01 +0200
commit97237ad3feed80407ed1884ea84cf00fd9fea367 (patch)
treed087502fab09167246a610d7987d135c59288403 /docs/ref/models/database-functions.txt
parent810bca5a1ae33a9c8b54a2a516aa5bb8ec013c3f (diff)
Removed versionadded/changed annotations for 3.2.
Diffstat (limited to 'docs/ref/models/database-functions.txt')
-rw-r--r--docs/ref/models/database-functions.txt14
1 files changed, 0 insertions, 14 deletions
diff --git a/docs/ref/models/database-functions.txt b/docs/ref/models/database-functions.txt
index 3d2e436b67..28d489d256 100644
--- a/docs/ref/models/database-functions.txt
+++ b/docs/ref/models/database-functions.txt
@@ -97,8 +97,6 @@ Usage examples::
.. class:: Collate(expression, collation)
-.. versionadded:: 3.2
-
Takes an expression and a collation name to query against.
For example, to filter case-insensitively in SQLite::
@@ -158,8 +156,6 @@ and ``comment.modified``.
.. class:: JSONObject(**fields)
-.. versionadded:: 3.2
-
Takes a list of key-value pairs and returns a JSON object containing those
pairs.
@@ -663,10 +659,6 @@ that deal with date-parts can be used with ``DateField``::
.. attribute:: lookup_name = 'date'
.. attribute:: output_field = DateField()
- .. versionchanged:: 3.2
-
- The ``tzinfo`` parameter was added.
-
``TruncDate`` casts ``expression`` to a date rather than using the built-in SQL
truncate function. It's also registered as a transform on ``DateTimeField`` as
``__date``.
@@ -676,10 +668,6 @@ truncate function. It's also registered as a transform on ``DateTimeField`` as
.. attribute:: lookup_name = 'time'
.. attribute:: output_field = TimeField()
- .. versionchanged:: 3.2
-
- The ``tzinfo`` parameter was added.
-
``TruncTime`` casts ``expression`` to a time rather than using the built-in SQL
truncate function. It's also registered as a transform on ``DateTimeField`` as
``__time``.
@@ -1162,8 +1150,6 @@ It can also be registered as a transform. For example::
.. class:: Random(**extra)
-.. versionadded:: 3.2
-
Returns a random value in the range ``0.0 ≤ x < 1.0``.
``Round``