Move task registration to the CeleryQueue class
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -25,6 +25,8 @@ class TaskManagerApp(MayanAppConfig):
|
||||
def ready(self):
|
||||
super(TaskManagerApp, self).ready()
|
||||
|
||||
CeleryQueue.initialize()
|
||||
|
||||
SourceColumn(
|
||||
source=CeleryQueue, label=_('Label'), attribute='label'
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user