summaryrefslogtreecommitdiff
path: root/ishtar_common/urls.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2019-04-30 13:35:06 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2019-06-17 13:21:27 +0200
commitf7eb29db4d43080dcb87994a18a2be7a2a07c622 (patch)
tree73cecce534117dd5c3a5a8e897b3d20a6a554146 /ishtar_common/urls.py
parentc7e8d8c880068afdd5a035767f81138f49c18111 (diff)
downloadIshtar-f7eb29db4d43080dcb87994a18a2be7a2a07c622.tar.bz2
Ishtar-f7eb29db4d43080dcb87994a18a2be7a2a07c622.zip
Label generation: view to generate labels
Diffstat (limited to 'ishtar_common/urls.py')
-rw-r--r--ishtar_common/urls.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ishtar_common/urls.py b/ishtar_common/urls.py
index eae297af7..99d80e7ad 100644
--- a/ishtar_common/urls.py
+++ b/ishtar_common/urls.py
@@ -42,6 +42,8 @@ urlpatterns = [
views.DisplayItemView.as_view(), name='display-item'),
url(r'qrcode/(?P<app>[-a-z]+)/(?P<model_name>[-a-z]+)/(?P<pk>\d+)/',
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'person_search/(?P<step>.+)?$',
check_rights(['add_person'])(
views.person_search_wizard), name='person_search'),