Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/test-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ jobs:
backends
basic
bulk_create
custom_pk
dates
datetimes
db_functions
Expand Down
3 changes: 2 additions & 1 deletion django_mongodb/features.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ class DatabaseFeatures(BaseDatabaseFeatures):
supports_timezones = False
# Not implemented: https://github.com/mongodb-labs/django-mongodb/issues/7
supports_transactions = False
supports_unspecified_pk = True
uses_savepoints = False

_django_test_expected_failures = {
Expand Down Expand Up @@ -98,7 +99,6 @@ class DatabaseFeatures(BaseDatabaseFeatures):
"schema.tests.SchemaTests.test_order_index",
"schema.tests.SchemaTests.test_text_field_with_db_index",
# AlterField
"schema.tests.SchemaTests.test_alter_auto_field_to_integer_field",
"schema.tests.SchemaTests.test_alter_field_add_index_to_integerfield",
"schema.tests.SchemaTests.test_alter_field_default_dropped",
"schema.tests.SchemaTests.test_alter_field_fk_keeps_index",
Expand Down Expand Up @@ -209,6 +209,7 @@ def django_test_expected_failures(self):
},
"AutoField not supported.": {
"bulk_create.tests.BulkCreateTests.test_bulk_insert_nullable_fields",
"custom_pk.tests.CustomPKTests.test_auto_field_subclass_create",
"introspection.tests.IntrospectionTests.test_sequence_list",
"lookup.tests.LookupTests.test_filter_by_reverse_related_field_transform",
"lookup.tests.LookupTests.test_in_ignore_none_with_unhashable_items",
Expand Down