Skip to content

Commit

Permalink
remove unused MongoQuery attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
timgraham committed Nov 1, 2024
1 parent 2ec408c commit 41d6433
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions django_mongodb/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,9 @@ class MongoQuery:

def __init__(self, compiler):
self.compiler = compiler
self.connection = compiler.connection
self.ops = compiler.connection.ops
self.query = compiler.query
self._negated = False
self.ordering = []
self.collection_name = self.compiler.collection_name
self.mongo_query = getattr(compiler.query, "raw_query", {})
self.mongo_query = {}
self.subqueries = None
self.lookup_pipeline = None
self.project_fields = None
Expand Down

0 comments on commit 41d6433

Please sign in to comment.