Skip to content

Commit

Permalink
[wip] remove index_together support
Browse files Browse the repository at this point in the history
  • Loading branch information
timgraham committed Dec 14, 2024
1 parent b68dc95 commit 10473e4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions django_mongodb/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 10473e4

Please sign in to comment.