summaryrefslogtreecommitdiff
path: root/archaeological_finds/urls.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2025-02-11 18:08:43 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2025-02-19 14:45:57 +0100
commit7313642f0ebcdfc83cc1d28906e618489594e8a9 (patch)
tree70f3ff80c890b7854216887d67214d8152d8d085 /archaeological_finds/urls.py
parent1e4125609348d31806f9daedc4b530fb94d6fd4e (diff)
downloadIshtar-7313642f0ebcdfc83cc1d28906e618489594e8a9.tar.bz2
Ishtar-7313642f0ebcdfc83cc1d28906e618489594e8a9.zip
✨ create exhibition from basket
Diffstat (limited to 'archaeological_finds/urls.py')
-rw-r--r--archaeological_finds/urls.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/archaeological_finds/urls.py b/archaeological_finds/urls.py
index b99140e00..e8935511f 100644
--- a/archaeological_finds/urls.py
+++ b/archaeological_finds/urls.py
@@ -183,6 +183,13 @@ urlpatterns = [
name="findbasket-add-treatmentfile",
),
url(
+ r"^findbasket-add-exhibition/(?P<pk>[0-9-]+)/$",
+ check_permissions(
+ ["archaeological_finds.add_exhibition"]
+ )(views.findbasket_exhibition_add),
+ name="findbasket-add-exhibition",
+ ),
+ url(
r"^find-add-treatment/(?P<pk>[0-9-]+)/$",
check_permissions(
["archaeological_finds.add_treatment"]
@@ -444,6 +451,13 @@ urlpatterns = [
name="exhibition-search",
),
path(
+ "exhibition/create/<int:basket_id>/",
+ check_permissions(
+ ["archaeological_finds.add_exhibition"]
+ )(views.ExhibitionCreateView.as_view()),
+ name="exhibition-create-from-basket",
+ ),
+ path(
"exhibition/create/",
check_permissions(
["archaeological_finds.add_exhibition"]