From 9277ed4dbc77b6c70bb1f1420f9b5c3b33174ceb Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 22 Jun 2016 12:02:48 +0200 Subject: Add link to modify sources in the sheet --- archaeological_context_records/urls.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'archaeological_context_records/urls.py') diff --git a/archaeological_context_records/urls.py b/archaeological_context_records/urls.py index 52af8bda9..84560da67 100644 --- a/archaeological_context_records/urls.py +++ b/archaeological_context_records/urls.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# Copyright (C) 2010-2013 Étienne Loks +# Copyright (C) 2010-2016 Étienne Loks # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as @@ -51,6 +51,8 @@ urlpatterns = patterns( check_rights(['change_contextrecord', 'change_own_contextrecord'])( views.record_source_modification_wizard), name='record_source_modification'), + url(r'record_source_modify/(?P.+)/$', + views.record_source_modify, name='record_source_modify'), url(r'record_source_deletion/(?P.+)?$', check_rights(['change_contextrecord', 'change_own_contextrecord'])( views.record_source_deletion_wizard), -- cgit v1.2.3