Refs #27236 -- Reverted AlterIndexTogether deprecation.

This partly reverts a6385b382e.
This commit is contained in:
Mariusz Felisiak 2022-07-20 07:33:03 +02:00
parent 7bdb682215
commit c773d5794e
14 changed files with 0 additions and 92 deletions

View file

@ -397,12 +397,6 @@ Models
* **models.W045**: Check constraint ``<constraint>`` contains ``RawSQL()``
expression and won't be validated during the model ``full_clean()``.
Migrations
----------
* **migrations.W001**: ``AlterIndexTogether`` is deprecated. Support for it
(except in historical migrations) will be removed in Django 5.1.
Security
--------

View file

@ -106,13 +106,6 @@ Changes the model's set of custom indexes (the
:attr:`~django.db.models.Options.index_together` option on the ``Meta``
subclass).
.. deprecated:: 4.2
``AlterIndexTogether`` is deprecated in favor of
:class:`~django.db.migrations.operations.AddIndex`,
:class:`~django.db.migrations.operations.RemoveIndex`, and
:class:`~django.db.migrations.operations.RenameIndex` operations.
``AlterOrderWithRespectTo``
---------------------------