Skip to content

Commit a4fb9b7

Browse files
committed
INTPYTHON-348 Add support for QuerySet.raw()
- Fix super
1 parent cfd2ace commit a4fb9b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django_mongodb/query.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ def __init__(
355355
using=None,
356356
hints=None,
357357
):
358-
super().__init__(model=model, query=query, using=using, hints=hints)
358+
super().__init__(raw_query, model=model, query=query, using=using, hints=hints)
359359
self.query = query or MongoRawQuery(
360360
sql=raw_query, using=self.db, model=self.model, params=params
361361
)

0 commit comments

Comments
 (0)