From 10473e46044ada2ae7841df770a37d52ff7c78ca Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Sat, 14 Dec 2024 08:59:55 -0500 Subject: [PATCH] [wip] remove index_together support --- django_mongodb/schema.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/django_mongodb/schema.py b/django_mongodb/schema.py index 8fc18fea..7231120e 100644 --- a/django_mongodb/schema.py +++ b/django_mongodb/schema.py @@ -42,9 +42,6 @@ def _create_model_indexes(self, model): self._add_field_index(model, field) elif self._field_should_have_unique(field): self._add_field_unique(model, field) - # Meta.index_together (RemovedInDjango51Warning) - for field_names in model._meta.index_together: - self._add_composed_index(model, field_names) # Meta.unique_together if model._meta.unique_together: self.alter_unique_together(model, [], model._meta.unique_together)