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. All endpoints contain your test.
## Endpoints ## Live Demo
- /api/books GET ### Get list
- /api/books POST
- /api/books/:pk GET ### Get Detail
- /api/books/:pk DELETE
- /api/books/:pk PUT ### Create
### Update
### Delete
## Install ## Install

View File

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