ojuso-map/apps/api/urls.py

10 lines
255 B
Python

from rest_framework import routers
from . import views
apirouter = routers.DefaultRouter()
apirouter.register(r"case-studies", views.CaseStudyViewSet)
apirouter.register(r"points-of-interest", views.PointOfInterestViewSet)
urlpatterns = apirouter.urls