Appearance: Fix form CSS media rendering

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>
This commit is contained in:
Roberto Rosario
2018-11-29 01:12:36 -04:00
parent ef3453b48c
commit cfe1934b9b
17 changed files with 226 additions and 98 deletions

View File

@@ -248,12 +248,23 @@ class DocumentStatesApp(MayanAppConfig):
),
)
)
app.conf.CELERY_QUEUES.extend(
(
Queue(
'document_states_fast', Exchange('document_states_fast'),
routing_key='document_states_fast'
),
)
)
app.conf.CELERY_ROUTES.update(
{
'document_states.tasks.task_launch_all_workflows': {
'document_states.tasks.task_generate_document_state_image': {
'queue': 'document_states'
},
'document_states.tasks.task_launch_all_workflows': {
'queue': 'document_states_fast'
},
}
)