Skip to content

Commit f7d63fe

Browse files
committed
[wip] remove index_together support
1 parent 4c960e0 commit f7d63fe

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

django_mongodb/schema.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ def _create_model_indexes(self, model):
4242
self._add_field_index(model, field)
4343
elif self._field_should_have_unique(field):
4444
self._add_field_unique(model, field)
45-
# Meta.index_together (RemovedInDjango51Warning)
46-
for field_names in model._meta.index_together:
47-
self._add_composed_index(model, field_names)
4845
# Meta.unique_together
4946
if model._meta.unique_together:
5047
self.alter_unique_together(model, [], model._meta.unique_together)

0 commit comments

Comments
 (0)