Prefix dispatch_uid with the app name

Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com>
This commit is contained in:
Roberto Rosario
2019-11-17 02:19:16 -04:00
parent f1c704e3e1
commit 971e5c0ae7
2 changed files with 4 additions and 4 deletions

View File

@@ -18,7 +18,7 @@ class AutoAdminAppConfig(MayanAppConfig):
super(AutoAdminAppConfig, self).ready()
post_save.connect(
dispatch_uid='auto_admin_handler_account_password_change',
dispatch_uid='autoadmin_handler_account_password_change',
receiver=handler_auto_admin_account_password_change,
sender=settings.AUTH_USER_MODEL
)

View File

@@ -566,12 +566,12 @@ class DocumentsApp(MayanAppConfig):
)
post_delete.connect(
dispatch_uid='handler_remove_empty_duplicates_lists',
dispatch_uid='documents_handler_remove_empty_duplicates_lists',
receiver=handler_remove_empty_duplicates_lists,
sender=Document
)
post_initial_setup.connect(
dispatch_uid='handler_create_default_document_type',
dispatch_uid='documents_handler_create_default_document_type',
receiver=handler_create_default_document_type
)
post_migrate.connect(
@@ -579,7 +579,7 @@ class DocumentsApp(MayanAppConfig):
receiver=handler_create_document_cache,
)
post_version_upload.connect(
dispatch_uid='handler_scan_duplicates_for',
dispatch_uid='documents_handler_scan_duplicates_for',
receiver=handler_scan_duplicates_for
)