summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/4.1.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/releases/4.1.txt b/docs/releases/4.1.txt
index dc95a653c3..7c9f1beca6 100644
--- a/docs/releases/4.1.txt
+++ b/docs/releases/4.1.txt
@@ -350,6 +350,11 @@ Migrations
:attr:`Meta.indexes <django.db.models.Options.indexes>` or
:attr:`~django.db.models.Options.index_together` options.
+* The migrations autodetector now generates
+ :class:`~django.db.migrations.operations.RenameIndex` operations instead of
+ ``RemoveIndex`` and ``AddIndex``, when renaming indexes defined in the
+ :attr:`Meta.indexes <django.db.models.Options.indexes>`.
+
Models
~~~~~~