Skip to content
Snippets Groups Projects
Commit f71bca73 authored by Art's avatar Art :lizard:
Browse files

Stop creating signal receivers with weak references to instances

parent ec307542
No related branches found
No related tags found
No related merge requests found
...@@ -22,7 +22,7 @@ class SSOAuthConfig(AppConfig): ...@@ -22,7 +22,7 @@ class SSOAuthConfig(AppConfig):
else: else:
logger.warning(msg) logger.warning(msg)
# default groups # default groups
post_migrate.connect(self.post_migrate_callback, sender=self) post_migrate.connect(self.post_migrate_callback, sender=type(self))
@staticmethod @staticmethod
def post_migrate_callback(*args, **kwargs): def post_migrate_callback(*args, **kwargs):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment