Skip to content

Commit 13f58ab

Browse files
committed
Add queryset doesn't work because subqueries aren't a thing in MongoDB.
1 parent e4ee17e commit 13f58ab

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
@@ -59,6 +59,7 @@ class DatabaseFeatures(BaseDatabaseFeatures):
5959
# pk__in=queryset doesn't work because subqueries aren't a thing in
6060
# MongoDB.
6161
"annotations.tests.NonAggregateAnnotationTestCase.test_annotation_and_alias_filter_in_subquery",
62+
"model_fields.test_jsonfield.TestQuerying.test_usage_in_subquery",
6263
# Length of null considered zero rather than null.
6364
"db_functions.text.test_length.LengthTests.test_basic",
6465
}
@@ -161,7 +162,6 @@ class DatabaseFeatures(BaseDatabaseFeatures):
161162
"QuerySet.annotate() has some limitations.": {
162163
# Exists not supported.
163164
"annotations.tests.NonAggregateAnnotationTestCase.test_annotation_exists_none_query",
164-
"lookup.tests.LookupQueryingTests.test_filter_exists_lhs",
165165
"lookup.tests.LookupTests.test_exact_exists",
166166
"lookup.tests.LookupTests.test_nested_outerref_lhs",
167167
"lookup.tests.LookupQueryingTests.test_filter_exists_lhs",

0 commit comments

Comments
 (0)