From a1a1b524fd02a57bd514ed95580fea8b67e1cede Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 6 Oct 2021 18:36:16 +0200 Subject: Syndication - docs, api permissions Permissions by token, IP and by model. --- archaeological_operations/urls.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'archaeological_operations/urls.py') diff --git a/archaeological_operations/urls.py b/archaeological_operations/urls.py index 85a650216..4aee195f4 100644 --- a/archaeological_operations/urls.py +++ b/archaeological_operations/urls.py @@ -21,6 +21,7 @@ from django.conf.urls import url from ishtar_common.utils import check_rights from archaeological_operations import views +from archaeological_operations import views_api from archaeological_operations import models # be carreful: each check_rights must be relevant with ishtar_menu @@ -356,4 +357,8 @@ urlpatterns = [ views.GenerateStatsOperation.as_view(), name="generate-stats-operation", ), + url( + r"api/search/operation/$", views_api.SearchOperationAPI.as_view(), + name="api-search-operation" + ), ] -- cgit v1.2.3