Translate english

This commit is contained in:
Andros Fenollosa
2021-07-14 16:19:03 +02:00
parent 997ad1f3e8
commit d04d21ae5b
24 changed files with 149 additions and 205 deletions

11
app/library/urls.py Normal file
View 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"),
]