From b7dd89ed5389067cb70294682ffef1ba23d33934 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Tue, 5 Jan 2021 11:20:50 +0100 Subject: Removed versionadded/changed annotations for 3.1. --- docs/ref/contrib/postgres/constraints.txt | 2 -- docs/ref/contrib/postgres/fields.txt | 16 ---------------- docs/ref/contrib/postgres/indexes.txt | 2 -- docs/ref/contrib/postgres/operations.txt | 2 -- docs/ref/contrib/postgres/search.txt | 15 --------------- 5 files changed, 37 deletions(-) (limited to 'docs/ref/contrib/postgres') diff --git a/docs/ref/contrib/postgres/constraints.txt b/docs/ref/contrib/postgres/constraints.txt index 25e6ae5ae0..7907eaefdf 100644 --- a/docs/ref/contrib/postgres/constraints.txt +++ b/docs/ref/contrib/postgres/constraints.txt @@ -79,8 +79,6 @@ These conditions have the same database restrictions as .. attribute:: ExclusionConstraint.deferrable -.. versionadded:: 3.1 - Set this parameter to create a deferrable exclusion constraint. Accepted values are ``Deferrable.DEFERRED`` or ``Deferrable.IMMEDIATE``. For example:: diff --git a/docs/ref/contrib/postgres/fields.txt b/docs/ref/contrib/postgres/fields.txt index df9ebc48d6..eee99592b3 100644 --- a/docs/ref/contrib/postgres/fields.txt +++ b/docs/ref/contrib/postgres/fields.txt @@ -686,14 +686,6 @@ The ``contained_by`` lookup is also available on the non-range field types: ... ) ]> -.. versionchanged:: 3.1 - - Support for :class:`~django.db.models.SmallAutoField`, - :class:`~django.db.models.AutoField`, - :class:`~django.db.models.BigAutoField`, - :class:`~django.db.models.SmallIntegerField`, and - :class:`~django.db.models.DecimalField` was added. - .. fieldlookup:: rangefield.overlap ``overlap`` @@ -813,8 +805,6 @@ Returned objects are empty ranges. Can be chained to valid lookups for a ``lower_inc`` ^^^^^^^^^^^^^ -.. versionadded:: 3.1 - Returns objects that have inclusive or exclusive lower bounds, depending on the boolean value passed. Can be chained to valid lookups for a :class:`~django.db.models.BooleanField`. @@ -827,8 +817,6 @@ boolean value passed. Can be chained to valid lookups for a ``lower_inf`` ^^^^^^^^^^^^^ -.. versionadded:: 3.1 - Returns objects that have unbounded (infinite) or bounded lower bound, depending on the boolean value passed. Can be chained to valid lookups for a :class:`~django.db.models.BooleanField`. @@ -841,8 +829,6 @@ depending on the boolean value passed. Can be chained to valid lookups for a ``upper_inc`` ^^^^^^^^^^^^^ -.. versionadded:: 3.1 - Returns objects that have inclusive or exclusive upper bounds, depending on the boolean value passed. Can be chained to valid lookups for a :class:`~django.db.models.BooleanField`. @@ -855,8 +841,6 @@ boolean value passed. Can be chained to valid lookups for a ``upper_inf`` ^^^^^^^^^^^^^ -.. versionadded:: 3.1 - Returns objects that have unbounded (infinite) or bounded upper bound, depending on the boolean value passed. Can be chained to valid lookups for a :class:`~django.db.models.BooleanField`. diff --git a/docs/ref/contrib/postgres/indexes.txt b/docs/ref/contrib/postgres/indexes.txt index 4a9b2ad22e..746e26330e 100644 --- a/docs/ref/contrib/postgres/indexes.txt +++ b/docs/ref/contrib/postgres/indexes.txt @@ -12,8 +12,6 @@ available from the ``django.contrib.postgres.indexes`` module. .. class:: BloomIndex(*expressions, length=None, columns=(), **options) - .. versionadded:: 3.1 - Creates a bloom_ index. To use this index access you need to activate the bloom_ extension on diff --git a/docs/ref/contrib/postgres/operations.txt b/docs/ref/contrib/postgres/operations.txt index ff37728d27..8491ac2f52 100644 --- a/docs/ref/contrib/postgres/operations.txt +++ b/docs/ref/contrib/postgres/operations.txt @@ -61,8 +61,6 @@ them. In that case, connect to your Django database and run the query .. class:: BloomExtension() - .. versionadded:: 3.1 - Installs the ``bloom`` extension. ``BtreeGinExtension`` diff --git a/docs/ref/contrib/postgres/search.txt b/docs/ref/contrib/postgres/search.txt index f00bddbee4..fe4e86f05e 100644 --- a/docs/ref/contrib/postgres/search.txt +++ b/docs/ref/contrib/postgres/search.txt @@ -35,10 +35,6 @@ query and the vector. To use the ``search`` lookup, ``'django.contrib.postgres'`` must be in your :setting:`INSTALLED_APPS`. -.. versionchanged:: 3.1 - - Support for query expressions was added. - ``SearchVector`` ================ @@ -110,11 +106,6 @@ Examples: See :ref:`postgresql-fts-search-configuration` for an explanation of the ``config`` parameter. -.. versionchanged:: 3.1 - - Support for ``'websearch'`` search type and query expressions in - ``SearchQuery.value`` were added. - ``SearchRank`` ============== @@ -159,15 +150,9 @@ normalization options`_. .. _different rank normalization options: https://www.postgresql.org/docs/current/textsearch-controls.html#TEXTSEARCH-RANKING -.. versionadded:: 3.1 - - The ``normalization`` and ``cover_density`` parameters were added. - ``SearchHeadline`` ================== -.. versionadded:: 3.1 - .. class:: SearchHeadline(expression, query, config=None, start_sel=None, stop_sel=None, max_words=None, min_words=None, short_word=None, highlight_all=None, max_fragments=None, fragment_delimiter=None) Accepts a single text field or an expression, a query, a config, and a set of -- cgit v1.3