from django.urls import path from apps.shelf_books.views import ShelfBooks, SelectedShelfBook urlpatterns = [ path("shelves//books/", ShelfBooks.as_view()), path("shelves//books//", SelectedShelfBook.as_view()) ]