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>
This commit is contained in:
20
mayan/apps/file_caching/urls.py
Normal file
20
mayan/apps/file_caching/urls.py
Normal file
@@ -0,0 +1,20 @@
|
||||
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()
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user