- 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>
21 lines
495 B
Python
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()
|
|
),
|
|
]
|