- 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>
11 lines
294 B
Python
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')
|
|
)
|