From dc43a13eee2cd4fa50e307e0da055094c310d484 Mon Sep 17 00:00:00 2001 From: Nicolas Dubois Date: Mon, 5 Oct 2020 18:25:51 +0200 Subject: [PATCH] Rename AppConfig classname to remain consistent with its app name The Django app name is `postgres hot upgrade`, not update. --- django_postgres_hot_upgrade/__init__.py | 2 +- django_postgres_hot_upgrade/app.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/django_postgres_hot_upgrade/__init__.py b/django_postgres_hot_upgrade/__init__.py index 6dacc10..35d5933 100644 --- a/django_postgres_hot_upgrade/__init__.py +++ b/django_postgres_hot_upgrade/__init__.py @@ -1 +1 @@ -default_app_config = "django_postgres_hot_upgrade.app.PostgresHotUpdateConfig" +default_app_config = "django_postgres_hot_upgrade.app.PostgresHotUpgradeConfig" diff --git a/django_postgres_hot_upgrade/app.py b/django_postgres_hot_upgrade/app.py index 0abb3b9..5f0aef3 100644 --- a/django_postgres_hot_upgrade/app.py +++ b/django_postgres_hot_upgrade/app.py @@ -24,7 +24,7 @@ def _on_connect(connection, **kwargs): _version_cache[connection.alias] = version -class PostgresHotUpdateConfig(AppConfig): +class PostgresHotUpgradeConfig(AppConfig): name = "django_postgres_hot_upgrade"