update
This commit is contained in:
parent
aeb5199bdc
commit
3acc179084
16
README.md
16
README.md
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user