from django.urls import path, re_path from rest_framework import routers from .views import MapPointViewSet router = routers.SimpleRouter() router.register(r'points', MapPointViewSet) urlpatterns = [ ] + router.urls