Skip to content

Commit d545cd8

Browse files
WaVEVtimgraham
authored andcommitted
remove redundant setup_query() call
self.pre_sql_setup() already calls it.
1 parent 5e77b83 commit d545cd8

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
@@ -150,7 +150,6 @@ def get_count(self, check_exists=False):
150150
def build_query(self, columns=None):
151151
"""Check if the query is supported and prepare a MongoQuery."""
152152
self.check_query()
153-
self.setup_query()
154153
query = self.query_class(self, columns)
155154
query.lookup_pipeline = self.get_lookup_pipeline()
156155
try:

0 commit comments

Comments
 (0)