summaryrefslogtreecommitdiff
path: root/ishtar_common/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/urls.py')
-rw-r--r--ishtar_common/urls.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ishtar_common/urls.py b/ishtar_common/urls.py
index 55df6cb40..3667d46b2 100644
--- a/ishtar_common/urls.py
+++ b/ishtar_common/urls.py
@@ -46,6 +46,9 @@ urlpatterns = [
views.QRCodeView.as_view(), name='qrcode-item'),
url(r'^generate-labels/(?P<template_slug>[-a-z0-9]+)/',
views.GenerateLabelView.as_view(), name='generate-labels'),
+ url(r'^generate-document/(?P<template_slug>[-a-z0-9]+)/('
+ r'?P<item_pk>\d+)/',
+ views.GenerateView.as_view(), name='generate-document'),
url(r'person_search/(?P<step>.+)?$',
check_rights(['add_person'])(
views.person_search_wizard), name='person_search'),