We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b432c1 commit c0707ccCopy full SHA for c0707cc
django_mongodb_backend/indexes.py
@@ -53,7 +53,6 @@ def get_pymongo_index_model(self, model, schema_editor, field=None, unique=False
53
query = Query(model=model, alias_cols=False)
54
compiler = query.get_compiler(connection=schema_editor.connection)
55
for expression in self.expressions:
56
- query = Query(model=model, alias_cols=False)
57
field_ = expression.resolve_expression(query)
58
column = field_.as_mql(compiler, schema_editor.connection, as_path=True)
59
db_type = (
0 commit comments