We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fe6105 commit 06273e4Copy full SHA for 06273e4
django_mongodb/compiler.py
@@ -134,12 +134,6 @@ def check_query(self):
134
raise NotSupportedError("QuerySet.distinct() is not supported on MongoDB.")
135
if self.query.extra:
136
raise NotSupportedError("QuerySet.extra() is not supported on MongoDB.")
137
- if self.query.select_related:
138
- pass
139
- # raise NotSupportedError("QuerySet.select_related() is not supported on MongoDB.")
140
- if len([a for a in self.query.alias_map if self.query.alias_refcount[a]]) > 1:
141
142
- # raise NotSupportedError("Queries with multiple tables are not supported on MongoDB.")
143
if any(
144
isinstance(a, Aggregate) and not isinstance(a, Count)
145
for a in self.query.annotations.values()
0 commit comments