Skip to content

Commit

Permalink
set DatabaseWrapper.display_name
Browse files Browse the repository at this point in the history
  • Loading branch information
timgraham committed May 18, 2024
1 parent 97a421a commit 6a163df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ jobs:
- name: Run tests
run: >
python3 django_repo/tests/runtests.py --settings mongodb_settings -v 2
backends.base.test_base.DatabaseWrapperTests
basic
dates
datetimes
Expand Down
1 change: 1 addition & 0 deletions django_mongodb/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ class DatabaseWrapper(BaseDatabaseWrapper):
"UUIDField": "string",
}

display_name = "MongoDB"
vendor = "mongodb"
Database = Database
SchemaEditorClass = DatabaseSchemaEditor
Expand Down

0 comments on commit 6a163df

Please sign in to comment.