Skip to content

Commit b4061d5

Browse files
committed
Add Readme.
1 parent 682c46a commit b4061d5

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-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: 0 additions & 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_aggregate_with_m2o",
8481
"annotations.tests.NonAggregateAnnotationTestCase.test_annotation_reverse_m2m",
@@ -99,7 +96,6 @@ class DatabaseFeatures(BaseDatabaseFeatures):
9996
"queries.tests.Queries1Tests.test_order_by_tables",
10097
"queries.tests.Queries1Tests.test_ticket1050",
10198
"queries.tests.Queries1Tests.test_ticket2400",
102-
"queries.tests.Queries1Tests.test_ticket4358",
10399
"queries.tests.Queries1Tests.test_ticket_10790_1",
104100
"queries.tests.Queries1Tests.test_ticket_10790_4",
105101
"queries.tests.Queries1Tests.test_ticket_10790_6",
@@ -120,8 +116,6 @@ class DatabaseFeatures(BaseDatabaseFeatures):
120116
# Querying the reverse side of a foreign key for None returns no
121117
# results: https://github.com/mongodb-labs/django-mongodb/issues/76
122118
"one_to_one.tests.OneToOneTests.test_filter_one_to_one_relations",
123-
# pymongo.errors.OperationFailure: the limit must be positive
124-
"queries.tests.WeirdQuerysetSlicingTests.test_tickets_7698_10202",
125119
# QuerySet.explain() not implemented:
126120
# https://github.com/mongodb-labs/django-mongodb/issues/28
127121
"queries.test_explain.ExplainUnsupportedTests.test_message",

0 commit comments

Comments
 (0)