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