diff --git a/django_mongodb/compiler.py b/django_mongodb/compiler.py index fc5b3b442..e1159a743 100644 --- a/django_mongodb/compiler.py +++ b/django_mongodb/compiler.py @@ -150,7 +150,6 @@ def get_count(self, check_exists=False): def build_query(self, columns=None): """Check if the query is supported and prepare a MongoQuery.""" self.check_query() - self.setup_query() query = self.query_class(self, columns) query.lookup_pipeline = self.get_lookup_pipeline() try: