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:36:23 -04:00
parent 1acc352801
commit f76b9e4f3f
29 changed files with 168 additions and 420 deletions
+2
View File
@@ -25,6 +25,8 @@ class TaskManagerApp(MayanAppConfig):
def ready(self):
super(TaskManagerApp, self).ready()
CeleryQueue.initialize()
SourceColumn(
source=CeleryQueue, label=_('Label'), attribute='label'
)