Skip to content

Commit d40c24a

Browse files
committed
Edits.
1 parent 6e5229b commit d40c24a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django_mongodb_backend/indexes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def get_pymongo_index_model(self, model, schema_editor, field=None, unique=False
5454
compiler = query.get_compiler(connection=schema_editor.connection)
5555
for expression in self.expressions:
5656
field_ = expression.resolve_expression(query)
57-
column = field_.as_mql(compiler, schema_editor.connection, as_path=True)
57+
column = field_.as_mql(compiler, schema_editor.connection)
5858
db_type = (
5959
field_.expression.db_type(schema_editor.connection)
6060
if isinstance(field_, OrderBy)

0 commit comments

Comments
 (0)