#31 API basic implementation Compensation

* adds compensation fetching for API v1
* refactors filter into predefined lookup dict of super class (needs to be customized on subclasses)
This commit is contained in:
mpeltriaux committed 2022-01-21 17:32:31 +01:00
1 parent 0c35e79d04
commit 897520f906
5 files changed
+102 -10

No files matched your search

+2
View File
@@ -7,9 +7,11 @@ Created on: 21.01.22
"""
from django.urls import path
from api.views.v1.compensation import APICompensationViewV1
from api.views.v1.intervention import APIInterventionViewV1
app_name = "v1"
urlpatterns = [
path("intervention/<id>", APIInterventionViewV1.as_view(), name="intervention"),
path("compensation/<id>", APICompensationViewV1.as_view(), name="compensation"),
]