Sort arguments. Fix failing tests. Sort view classes. Replace get_object() with self.object in the delete and edit views. Use ExternalObjectMixin to simplify views. Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
14 lines
357 B
Python
14 lines
357 B
Python
from __future__ import absolute_import, unicode_literals
|
|
|
|
from django.utils.translation import ugettext_lazy as _
|
|
|
|
from mayan.apps.task_manager.classes import CeleryQueue
|
|
|
|
queue_mailing = CeleryQueue(
|
|
label=_('Mailing'), name='mailing'
|
|
)
|
|
queue_mailing.add_task_type(
|
|
label=_('Send document'),
|
|
name='mayan.apps.mailer.tasks.task_send_document'
|
|
)
|