Skip to content

Commit ac15c77

Browse files
committed
Add queryset doesn't work because subqueries aren't a thing in MongoDB.
1 parent 669b0f5 commit ac15c77

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
@@ -61,6 +61,7 @@ class DatabaseFeatures(BaseDatabaseFeatures):
6161
# pk__in=queryset doesn't work because subqueries aren't a thing in
6262
# MongoDB.
6363
"annotations.tests.NonAggregateAnnotationTestCase.test_annotation_and_alias_filter_in_subquery",
64+
"model_fields.test_jsonfield.TestQuerying.test_usage_in_subquery",
6465
# Length of null considered zero rather than null.
6566
"db_functions.text.test_length.LengthTests.test_basic",
6667
}
@@ -214,7 +215,6 @@ def django_test_expected_failures(self):
214215
"QuerySet.annotate() has some limitations.": {
215216
# Exists not supported.
216217
"annotations.tests.NonAggregateAnnotationTestCase.test_annotation_exists_none_query",
217-
"lookup.tests.LookupQueryingTests.test_filter_exists_lhs",
218218
"lookup.tests.LookupTests.test_exact_exists",
219219
"lookup.tests.LookupTests.test_nested_outerref_lhs",
220220
"lookup.tests.LookupQueryingTests.test_filter_exists_lhs",

0 commit comments

Comments
 (0)