Update URL parameters to the "_id" forms. Add keyword arguments. Remove use of is_path in the DOCUMENT_PARSING_PDFTOTEXT_PATH setting. Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
13 lines
357 B
Python
13 lines
357 B
Python
from __future__ import unicode_literals
|
|
|
|
from django.utils.translation import ugettext_lazy as _
|
|
|
|
from mayan.apps.task_manager.classes import CeleryQueue
|
|
|
|
queue_ocr = CeleryQueue(label=_('Parsing'), name='parsing')
|
|
|
|
queue_ocr.add_task_type(
|
|
label=_('Document version parsing'),
|
|
name='mayan.apps.document_parsing.tasks.task_parse_document_version'
|
|
)
|