Fix the way the form CSS contained in the media attribute is rendered. This is now an interator and not a single value. Replace the current method with a for loop. Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
23 lines
656 B
Python
23 lines
656 B
Python
from __future__ import absolute_import, unicode_literals
|
|
|
|
from django.utils.translation import ugettext_lazy as _
|
|
|
|
from task_manager.classes import CeleryQueue
|
|
|
|
|
|
queue_document_states = CeleryQueue(
|
|
name='document_states', label=_('Document states')
|
|
)
|
|
queue_document_states_fast = CeleryQueue(
|
|
name='document_states_fast', label=_('Document states fast')
|
|
)
|
|
|
|
queue_document_states.add_task_type(
|
|
name='document_states.tasks.task_launch_all_workflows',
|
|
label=_('Launch all workflows')
|
|
)
|
|
queue_document_states_fast.add_task_type(
|
|
name='document_states.tasks.task_generate_document_state_image',
|
|
label=_('Generate workflow previews')
|
|
)
|