Translate english
This commit is contained in:
11
app/library/urls.py
Normal file
11
app/library/urls.py
Normal file
@@ -0,0 +1,11 @@
|
||||
# app/Library/urls.py
|
||||
|
||||
from django.urls import path
|
||||
from app.library.views import ping, BookList, BookDetails
|
||||
|
||||
|
||||
urlpatterns = [
|
||||
path("ping/", ping, name="ping"),
|
||||
path("api/book/", BookList.as_view(), name="book_list"),
|
||||
path("api/book/<int:pk>/", BookDetails.as_view(), name="book_details"),
|
||||
]
|
Reference in New Issue
Block a user