11 lines
266 B
Python
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())
|
|
]
|
|
|
|
|