Update document transformation links and views
Update the URL nomeclature for uniformity. Add document transformation link tests and improve the transformation view tests. Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
This commit is contained in:
@@ -183,12 +183,12 @@ urlpatterns = [
|
||||
),
|
||||
url(
|
||||
regex=r'^documents/(?P<document_id>\d+)/transformations/clear/$',
|
||||
name='document_clear_transformations',
|
||||
name='document_transformations_clear',
|
||||
view=DocumentTransformationsClearView.as_view()
|
||||
),
|
||||
url(
|
||||
regex=r'^documents/(?P<document_id>\d+)/transformations/clone/$',
|
||||
name='document_clone_transformations',
|
||||
name='document_transformations_clone',
|
||||
view=DocumentTransformationsCloneView.as_view()
|
||||
),
|
||||
url(
|
||||
@@ -222,7 +222,7 @@ urlpatterns = [
|
||||
),
|
||||
url(
|
||||
regex=r'^documents/multiple/transformations/clear/$',
|
||||
name='document_multiple_clear_transformations',
|
||||
name='document_multiple_transformations_clear',
|
||||
view=DocumentTransformationsClearView.as_view()
|
||||
),
|
||||
url(
|
||||
|
||||
Reference in New Issue
Block a user