From f71bca73a105d85f988d0c331e17af48918d6224 Mon Sep 17 00:00:00 2001 From: Art Lukyanchyk <artiom.lukyanchyk@hs-hannover.de> Date: Tue, 6 Nov 2018 13:53:06 +0100 Subject: [PATCH] Stop creating signal receivers with weak references to instances --- ssoauth/apps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssoauth/apps.py b/ssoauth/apps.py index 12c3ed4..5c84b83 100644 --- a/ssoauth/apps.py +++ b/ssoauth/apps.py @@ -22,7 +22,7 @@ class SSOAuthConfig(AppConfig): else: logger.warning(msg) # default groups - post_migrate.connect(self.post_migrate_callback, sender=self) + post_migrate.connect(self.post_migrate_callback, sender=type(self)) @staticmethod def post_migrate_callback(*args, **kwargs): -- GitLab