from django.urls import path ,include
from Data_Api import views
from rest_framework.routers import DefaultRouter

#creating routers
router = DefaultRouter()

#Register BookViewSet with Router
router.register('', views.BookReadOnlyModelViewSet,basename='BooksReadOnly')

urlpatterns = [
    path('',include(router.urls)),
]
d7f92ee9022ca84a1c938a64ba8f14cd614f3aa9
<mask token>

<mask token>
router.register('', views.BookReadOnlyModelViewSet, basename='BooksReadOnly')
<mask token>

<mask token>
router = DefaultRouter()
router.register('', views.BookReadOnlyModelViewSet, basename='BooksReadOnly')
urlpatterns = [path('', include(router.urls))]

from django.urls import path, include
from Data_Api import views
from rest_framework.routers import DefaultRouter
router = DefaultRouter()
router.register('', views.BookReadOnlyModelViewSet, basename='BooksReadOnly')
urlpatterns = [path('', include(router.urls))]

from django.urls import path ,include
from Data_Api import views
from rest_framework.routers import DefaultRouter

#creating routers
router = DefaultRouter()

#Register BookViewSet with Router
router.register('', views.BookReadOnlyModelViewSet,basename='BooksReadOnly')

urlpatterns = [
    path('',include(router.urls)),
]