Files
LibraryApp/backend/apps/shelf_books/urls.py
2026-03-22 14:19:17 +01:00

11 lines
266 B
Python

from django.urls import path
from apps.shelf_books.views import ShelfBooks, SelectedShelfBook
urlpatterns = [
path("shelves/<int:shelf_id>/books/", ShelfBooks.as_view()),
path("shelves/<int:shelf_id>/books/<int:book_id>/", SelectedShelfBook.as_view())
]