Skip to content

Commit 6a163df

Browse files
committed
set DatabaseWrapper.display_name
1 parent 97a421a commit 6a163df

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
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+
backends.base.test_base.DatabaseWrapperTests
7071
basic
7172
dates
7273
datetimes

django_mongodb/base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ class DatabaseWrapper(BaseDatabaseWrapper):
5151
"UUIDField": "string",
5252
}
5353

54+
display_name = "MongoDB"
5455
vendor = "mongodb"
5556
Database = Database
5657
SchemaEditorClass = DatabaseSchemaEditor

0 commit comments

Comments
 (0)