Skip to content

Commit be32416

Browse files
committed
Add Readme.
1 parent b9ae31b commit be32416

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

.github/workflows/test-python.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ jobs:
6767
- name: Run tests
6868
run: >
6969
python3 django_repo/tests/runtests.py --settings mongodb_settings -v 2
70+
aggregation
7071
annotations
7172
auth_tests.test_models.UserManagerTestCase
7273
backends.base.test_base.DatabaseWrapperTests

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ Migrations for 'admin':
109109
## Known issues and limitations
110110

111111
- The following `QuerySet` methods aren't supported:
112-
- `aggregate()`
113112
- `bulk_update()`
114113
- `dates()`
115114
- `datetimes()`
@@ -118,6 +117,7 @@ Migrations for 'admin':
118117
- `extra()`
119118
- `prefetch_related()`
120119

120+
- `aggregate()` Sort with aggregate may not work well.
121121
- `Subquery`, `Exists`, and using a `QuerySet` in `QuerySet.annotate()` aren't
122122
supported.
123123

django_mongodb/features.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,6 @@ class DatabaseFeatures(BaseDatabaseFeatures):
7676
"model_fields.test_jsonfield.TestQuerying.test_order_grouping_custom_decoder",
7777
"model_fields.test_jsonfield.TestQuerying.test_ordering_by_transform",
7878
"model_fields.test_jsonfield.TestQuerying.test_ordering_grouping_by_key_transform",
79-
# DecimalField lookup with F expression crashes:
80-
# decimal.InvalidOperation: [<class 'decimal.ConversionSyntax'>]
81-
"lookup.tests.LookupTests.test_lookup_rhs",
8279
# Wrong results in queries with multiple tables.
8380
"annotations.tests.NonAggregateAnnotationTestCase.test_annotation_reverse_m2m",
8481
"annotations.tests.NonAggregateAnnotationTestCase.test_annotation_with_m2m",
@@ -91,7 +88,7 @@ class DatabaseFeatures(BaseDatabaseFeatures):
9188
"ordering.tests.OrderingTests.test_order_by_parent_fk_with_expression_in_default_ordering",
9289
"ordering.tests.OrderingTests.test_order_by_ptr_field_with_default_ordering_by_expression",
9390
"queries.tests.Queries1Tests.test_order_by_tables",
94-
"queries.tests.Queries1Tests.test_ticket4358",
91+
"queries.tests.Queries4Tests.test_filter_reverse_non_integer_pk",
9592
"queries.tests.Queries4Tests.test_ticket7095",
9693
"queries.tests.TestTicket24605.test_ticket_24605",
9794
"queries.tests.TestInvalidValuesRelation.test_invalid_values",
@@ -100,8 +97,6 @@ class DatabaseFeatures(BaseDatabaseFeatures):
10097
"annotations.tests.AliasTests.test_order_by_alias_aggregate",
10198
# annotate() + values_list() + order_by() loses annotated value.
10299
"expressions_case.tests.CaseExpressionTests.test_annotate_values_not_in_order_by",
103-
# pymongo.errors.OperationFailure: the limit must be positive
104-
"queries.tests.WeirdQuerysetSlicingTests.test_tickets_7698_10202",
105100
# QuerySet.explain() not implemented:
106101
# https://github.com/mongodb-labs/django-mongodb/issues/28
107102
"queries.test_explain.ExplainUnsupportedTests.test_message",

0 commit comments

Comments
 (0)