summaryrefslogtreecommitdiff
path: root/ishtar_common/urls.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2022-06-01 17:39:10 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2022-12-12 12:21:00 +0100
commit1bc40bcbc0792abe3686f5a09eeb7a229ab18a95 (patch)
tree78d25ed0a224c5a87af078f12a0bffe9a64c04f2 /ishtar_common/urls.py
parente435a4929b8d315f13184ea65086fc032c1fbea6 (diff)
downloadIshtar-1bc40bcbc0792abe3686f5a09eeb7a229ab18a95.tar.bz2
Ishtar-1bc40bcbc0792abe3686f5a09eeb7a229ab18a95.zip
Geodata - geo forms: create item form
Diffstat (limited to 'ishtar_common/urls.py')
-rw-r--r--ishtar_common/urls.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/ishtar_common/urls.py b/ishtar_common/urls.py
index 60a2d8767..b6ac71a9e 100644
--- a/ishtar_common/urls.py
+++ b/ishtar_common/urls.py
@@ -577,6 +577,13 @@ urlpatterns += [
url(
r"geo/create/(?P<app_source>[-\w]+)/(?P<model_source>[-\w]+)/(?P<source_pk>\d+)/$",
check_rights(["add_geovectordata", "add_own_geovectordata"])(
+ views.GeoPreCreateView.as_view()
+ ),
+ name="create-pre-geo",
+ ),
+ url(
+ r"geo/create/(?P<app_source>[-\w]+)/(?P<model_source>[-\w]+)/(?P<source_pk>\d+)/(?P<geom_type>[-\w]+)/$",
+ check_rights(["add_geovectordata", "add_own_geovectordata"])(
views.GeoCreateView.as_view()
),
name="create-geo",