Changed work of shelf books
This commit is contained in:
10
backend/apps/shelf_books/urls.py
Normal file
10
backend/apps/shelf_books/urls.py
Normal file
@@ -0,0 +1,10 @@
|
||||
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())
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user