From 6a163dff2b4a7fc1b3ccedcaaca578768a43b4d6 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Fri, 17 May 2024 21:25:25 -0400 Subject: [PATCH] set DatabaseWrapper.display_name --- .github/workflows/test-python.yml | 1 + django_mongodb/base.py | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/test-python.yml b/.github/workflows/test-python.yml index eb2a5cfe..8318a6b5 100644 --- a/.github/workflows/test-python.yml +++ b/.github/workflows/test-python.yml @@ -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 diff --git a/django_mongodb/base.py b/django_mongodb/base.py index 4924b65a..15def382 100644 --- a/django_mongodb/base.py +++ b/django_mongodb/base.py @@ -51,6 +51,7 @@ class DatabaseWrapper(BaseDatabaseWrapper): "UUIDField": "string", } + display_name = "MongoDB" vendor = "mongodb" Database = Database SchemaEditorClass = DatabaseSchemaEditor