diff options
| author | QuentinAndre <quentin.andre@imt-atlantique.net> | 2021-07-09 17:02:50 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-07-08 09:58:48 +0200 |
| commit | 3ec76f864e0cee7b337b790071fc0adcc210545a (patch) | |
| tree | 13b54277c2621d5b1cace1d347ba02c9d0797604 /archaeological_finds/urls.py | |
| parent | d8f5816974df579d8092677418fac1dcffdaea99 (diff) | |
| download | Ishtar-3ec76f864e0cee7b337b790071fc0adcc210545a.tar.bz2 Ishtar-3ec76f864e0cee7b337b790071fc0adcc210545a.zip | |
correction regex
Diffstat (limited to 'archaeological_finds/urls.py')
| -rw-r--r-- | archaeological_finds/urls.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/archaeological_finds/urls.py b/archaeological_finds/urls.py index fa55694e0..06b0d4b42 100644 --- a/archaeological_finds/urls.py +++ b/archaeological_finds/urls.py @@ -574,18 +574,18 @@ urlpatterns = [ ), url(r"api/public/find/$", views.PublicFindAPI.as_view(), name="api-public-find"), url( - r"api/ishtar/base-finds/geo/polygons/(?P<pk>[0-9]+)/(?P<get_polygons>(True|False)/)?$", + r"api/ishtar/base-finds/geo/polygons/(?P<pk>[0-9]+)/(?P<get_polygons>(True|False)/?)?$", check_rights(["view_find", "view_own_find"])( views.get_geo_items, ), - name="api-get-geo-items", + name="api-get-geo-polygons", ), url( r"api/ishtar/base-finds/geo/point/(?P<pk>[0-9]+)/$", check_rights(["view_find", "view_own_find"])( views.get_geo_items, ), - name="api-get-geo-items", + name="api-get-geo-point", ), ] |
