Finish redactions app
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com>
This commit is contained in:
@@ -3,7 +3,8 @@ from __future__ import unicode_literals
|
||||
from django.conf.urls import url
|
||||
|
||||
from .views import (
|
||||
RedactionCreateView, RedactionEditView, RedactionListView,
|
||||
RedactionCreateView, RedactionDeleteView, RedactionEditView,
|
||||
RedactionListView,
|
||||
)
|
||||
|
||||
|
||||
@@ -16,13 +17,14 @@ urlpatterns = [
|
||||
regex=r'^document_pages/(?P<pk>\d+)/redactions/$',
|
||||
view=RedactionListView.as_view(), name='redaction_list'
|
||||
),
|
||||
#url(
|
||||
# regex=r'^delete/(?P<pk>\d+)/$', view=RedactionDeleteView.as_view(),
|
||||
# name='redaction_delete'
|
||||
#),
|
||||
url(
|
||||
regex=r'^edit/(?P<pk>\d+)/$', view=RedactionEditView.as_view(),
|
||||
name='redaction_edit'
|
||||
regex=r'^redactions/(?P<pk>\d+)/delete/$',
|
||||
view=RedactionDeleteView.as_view(), name='redaction_delete'
|
||||
),
|
||||
url(
|
||||
regex=r'^redactions/(?P<pk>\d+)/edit/$',
|
||||
view=RedactionEditView.as_view(), name='redaction_edit'
|
||||
),
|
||||
]
|
||||
|
||||
api_urls = []
|
||||
|
||||
Reference in New Issue
Block a user