Files
mayan-edms/mayan/apps/file_caching/queues.py
Roberto Rosario 88bc29e4d7 Update the file caching app
- Add view to list available caches.
- Add links to view and purge caches.
- Add permissions.
- Add events.
- Add purge task.
- Remove document image clear link and view.
  This is now handled by the file caching app.

Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com>
2019-07-25 02:24:33 -04:00

11 lines
294 B
Python

from __future__ import absolute_import, unicode_literals
from django.utils.translation import ugettext_lazy as _
from mayan.apps.common.queues import queue_tools
queue_tools.add_task_type(
dotted_path='mayan.apps.file_caching.tasks.task_cache_purge',
label=_('Purge a file cache')
)