Move task registration to the CeleryQueue class

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2019-05-12 03:34:32 -04:00
parent 1acc352801
commit f76b9e4f3f
29 changed files with 168 additions and 420 deletions

View File

@@ -8,6 +8,6 @@ queue_document_states = CeleryQueue(
name='document_states', label=_('Document states')
)
queue_document_states.add_task_type(
name='mayan.apps.document_states.tasks.task_launch_all_workflows',
dotted_path='mayan.apps.document_states.tasks.task_launch_all_workflows',
label=_('Launch all workflows')
)