This commit is contained in:
Andros Fenollosa 2021-07-14 16:58:09 +02:00
parent aeb5199bdc
commit 3acc179084
2 changed files with 11 additions and 6 deletions

View File

@ -2,13 +2,17 @@
All endpoints contain your test.
## Endpoints
## Live Demo
- /api/books GET
- /api/books POST
- /api/books/:pk GET
- /api/books/:pk DELETE
- /api/books/:pk PUT
### Get list
### Get Detail
### Create
### Update
### Delete
## Install

View File

@ -121,6 +121,7 @@ USE_TZ = False
# https://docs.djangoproject.com/en/3.2/howto/static-files/
STATIC_URL = "/static/"
STATIC_ROOT = "static"
# Default primary key field type
# https://docs.djangoproject.com/en/3.2/ref/settings/#default-auto-field