mirror of
https://github.com/django/django.git
synced 2025-08-30 07:17:49 +00:00
Removed versionadded/changed annotations for 3.1.
This commit is contained in:
parent
8774b1144c
commit
b7dd89ed53
45 changed files with 0 additions and 392 deletions
|
@ -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::
|
||||
|
||||
|
|
|
@ -686,14 +686,6 @@ The ``contained_by`` lookup is also available on the non-range field types:
|
|||
... )
|
||||
<QuerySet [<Event: Soft play>]>
|
||||
|
||||
.. 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`.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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``
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue