From 06fa1be1af12c28909297a76852a1a716917df83 Mon Sep 17 00:00:00 2001 From: Mohamed Nouffer Date: Fri, 26 May 2023 14:21:23 +0530 Subject: [PATCH] fix location inbound function error --- rog/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rog/urls.py b/rog/urls.py index a3301b0..30694c5 100644 --- a/rog/urls.py +++ b/rog/urls.py @@ -24,7 +24,7 @@ urlpatterns = router.urls urlpatterns += [ path('inperf/', LocationsInPerf, name="location_perf"), path('insubperf', LocationsInSubPerf, name='location_subperf'), - path('inbound', LocationInBound, name='location_bound'), + path('inbound', LocationInBound.as_view(), name='location_bound'), path('customarea/', CustomAreaLocations, name='custom_area_location'), path('subperfinmain/', SubPerfInMainPerf, name="sub_perf"), path('allgifuareas/', GetAllGifuAreas, name="gifu_area"),