1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

Fixed #27236 -- Deprecated Meta.index_together in favor of Meta.indexes.

This also deprecates AlterIndexTogether migration operation.
This commit is contained in:
David Wobrock
2022-05-17 16:13:35 +02:00
parent 4f284115a9
commit a6385b382e
22 changed files with 178 additions and 14 deletions

View File

@@ -17,6 +17,11 @@ details on these changes.
* The ``BaseUserManager.make_random_password()`` method will be removed.
* The model's ``Meta.index_together`` option will be removed.
* The ``AlterIndexTogether`` migration operation will be removed. A stub
operation will remain for compatibility with historical migrations.
.. _deprecation-removed-in-5.0:
5.0