This commit is contained in:
Mohamed Nouffer
2022-04-05 16:36:21 +05:30
parent 3ac4cafcf1
commit cdeeb95366
5 changed files with 50 additions and 8 deletions

View File

@ -1,6 +1,6 @@
from rest_framework import urlpatterns
from rest_framework.routers import DefaultRouter
from .views import LocationViewSet, Location_lineViewSet, Location_polygonViewSet, Jpn_Main_PerfViewSet, Jpn_PerfViewSet, LocationsInPerf, SubInPerf, ExtentForSubPerf
from .views import LocationViewSet, Location_lineViewSet, Location_polygonViewSet, Jpn_Main_PerfViewSet, Jpn_PerfViewSet, LocationsInPerf, SubInPerf, ExtentForSubPerf, SubPerfInMainPerf, ExtentForMainPerf
from django.urls import path, include
@ -17,6 +17,7 @@ urlpatterns = router.urls
urlpatterns += [
path('inperf/', LocationsInPerf, name="location_perf"),
path('insubperf/', SubInPerf, name="sub_perf"),
path('subperfinmain/', SubPerfInMainPerf, name="sub_perf"),
path('perfext/', ExtentForSubPerf, name="sub_perf_ext"),
path('mainperfext/', ExtentForMainPerf, name="main_perf_ext"),
]