Skip to content

Commit e28e644

Browse files
WaVEVtimgraham
authored andcommitted
remove redundant setup_query() call
self.pre_sql_setup() already calls it.
1 parent 72a20d4 commit e28e644

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

django_mongodb/compiler.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ def get_count(self, check_exists=False):
145145
def build_query(self, columns=None):
146146
"""Check if the query is supported and prepare a MongoQuery."""
147147
self.check_query()
148-
self.setup_query()
149148
query = self.query_class(self, columns)
150149
try:
151150
query.mongo_query = {"$expr": self.query.where.as_mql(self, self.connection)}

0 commit comments

Comments
 (0)