#31 API basic implementation Intervention fetch

* enhances intervention fetching and serialization
This commit is contained in:
mpeltriaux committed 2022-01-21 16:29:59 +01:00
1 parent 3938db1893
commit 0c35e79d04
3 files changed
+24 -13

No files matched your search

+1 -1
View File
@@ -11,5 +11,5 @@ from api.views.v1.intervention import APIInterventionViewV1
app_name = "v1"
urlpatterns = [
path("intervention/<identifier>", APIInterventionViewV1.as_view(), name="intervention"),
path("intervention/<id>", APIInterventionViewV1.as_view(), name="intervention"),
]