Skip to content

Commit

Permalink
Rename AppConfig classname to remain consistent with its app name
Browse files Browse the repository at this point in the history
The Django app name is `postgres hot upgrade`, not update.
  • Loading branch information
wo0dyn committed Oct 5, 2020
1 parent 0a67c2b commit dc43a13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion django_postgres_hot_upgrade/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
default_app_config = "django_postgres_hot_upgrade.app.PostgresHotUpdateConfig"
default_app_config = "django_postgres_hot_upgrade.app.PostgresHotUpgradeConfig"
2 changes: 1 addition & 1 deletion django_postgres_hot_upgrade/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit dc43a13

Please sign in to comment.