Skip to content

Commit 37022e9

Browse files
committed
Add queryset doesn't work because subqueries aren't a thing in MongoDB.
1 parent 7abd040 commit 37022e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django_mongodb/features.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ class DatabaseFeatures(BaseDatabaseFeatures):
5555
# pk__in=queryset doesn't work because subqueries aren't a thing in
5656
# MongoDB.
5757
"annotations.tests.NonAggregateAnnotationTestCase.test_annotation_and_alias_filter_in_subquery",
58+
"model_fields.test_jsonfield.TestQuerying.test_usage_in_subquery",
5859
# Length of null considered zero rather than null.
5960
"db_functions.text.test_length.LengthTests.test_basic",
6061
}
@@ -208,7 +209,6 @@ def django_test_expected_failures(self):
208209
"QuerySet.annotate() has some limitations.": {
209210
# Exists not supported.
210211
"annotations.tests.NonAggregateAnnotationTestCase.test_annotation_exists_none_query",
211-
"lookup.tests.LookupQueryingTests.test_filter_exists_lhs",
212212
"lookup.tests.LookupTests.test_exact_exists",
213213
"lookup.tests.LookupTests.test_nested_outerref_lhs",
214214
"lookup.tests.LookupQueryingTests.test_filter_exists_lhs",

0 commit comments

Comments
 (0)