From 847ae9bab5afbc2d62fa6e4b1e751096e74e4c4d Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Sun, 1 Dec 2024 09:53:00 +0100 Subject: ✨ exhibitions: "GAM" export MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- archaeological_finds/urls.py | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) (limited to 'archaeological_finds/urls.py') diff --git a/archaeological_finds/urls.py b/archaeological_finds/urls.py index 8ddea481d..b99140e00 100644 --- a/archaeological_finds/urls.py +++ b/archaeological_finds/urls.py @@ -450,13 +450,6 @@ urlpatterns = [ )(views.ExhibitionCreateView.as_view()), name="exhibition-create", ), - path( - "exhibition/qa/add-loan//", - check_permissions( - ["archaeological_finds.add_treatmentfile"] - )(views.QAExhibitionLoanFormView.as_view()), - name="exhibition-qa-add-loan", - ), path( "exhibition/modify//", check_permissions( @@ -480,6 +473,21 @@ urlpatterns = [ views.revert_exhibition, name="exhibition-revert" ), + path( + "exhibition/qa/add-loan//", + check_permissions( + ["archaeological_finds.add_treatmentfile"] + )(views.QAExhibitionLoanFormView.as_view()), + name="exhibition-qa-add-loan", + ), + path( + "exhibition/qa/gam-export//", + check_permissions( + ["archaeological_finds.view_treatmentfile", + "archaeological_finds.view_own_treatmentfile"] + )(views.qa_gam_export_views), + name="exhibition-qa-gam-export", + ), path( "exhibition//", check_permissions( -- cgit v1.2.3