from openlocal.apiviews import * from rest_framework import routers from django.urls import path, include router = routers.DefaultRouter() router.register(r'orderslocal', OrdersLocalMVS) urlpatterns = [ path('api/', include(router.urls), name="openlocalapi"), ]