mpeltriaux
cf82f4b223
* adds token checking to AbstractModelAPIView * adds user accessibility filtering for intervention API v1 * extends fetch_and_serialize() method to take a dict for db filtering instead of a single field and value * organizes urlnames into supporting formats like "api:v1:intervention"
16 lines
400 B
Python
16 lines
400 B
Python
"""
|
|
Author: Michel Peltriaux
|
|
Organization: Struktur- und Genehmigungsdirektion Nord, Rhineland-Palatinate, Germany
|
|
Contact: michel.peltriaux@sgdnord.rlp.de
|
|
Created on: 21.01.22
|
|
|
|
"""
|
|
from django.urls import path
|
|
|
|
from api.views.v1.intervention import APIInterventionViewV1
|
|
|
|
app_name = "v1"
|
|
urlpatterns = [
|
|
path("intervention/<identifier>", APIInterventionViewV1.as_view(), name="intervention"),
|
|
]
|