Home Information - Your home, your data, organized.
Python
Added comment to capture previous PR work impact.
Tony Cassandra7a9ca4cd9a19
diff --git a/src/hi/apps/config/apps.py b/src/hi/apps/config/apps.pyindex 812d01b2..8e01ef72 100644--- a/src/hi/apps/config/apps.py+++ b/src/hi/apps/config/apps.py@@ -10,6 +10,15 @@ class ConfigConfig(AppConfig):from hi.apps.config.signals import SettingsInitializer# Populate the settings for all apps discovered to need them.+ #+ # We have some evidence and a theory that this signal might be+ # missed on m igrations, or does not always fire when we need it+ # to. To safeguard against this, we have built a custom command+ # "sync_settings" that is now part of the deployment workflow. It+ # does the same step of calling this initializer. For now, we do+ # not think there is any harm in retaining this original signal.+ # The initializer is idempotent.+ #post_migrate.connect( lambda sender, **kwargs: SettingsInitializer().run( sender, **kwargs ),sender = self )return