Files
mayan-edms/mayan/apps/file_caching/urls.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

21 lines
495 B
Python

from __future__ import unicode_literals
from django.conf.urls import url
from .views import CacheListView, CachePurgeView
urlpatterns = [
url(
regex=r'^caches/$',
name='cache_list', view=CacheListView.as_view()
),
url(
regex=r'^caches/(?P<cache_id>\d+)/purge/$',
name='cache_purge', view=CachePurgeView.as_view()
),
url(
regex=r'^caches/multiple/purge/$', name='cache_multiple_purge',
view=CachePurgeView.as_view()
),
]