From 3acc179084ca1214a3be9dea6b874eb1e1f23a1e Mon Sep 17 00:00:00 2001 From: Andros Fenollosa Date: Wed, 14 Jul 2021 16:58:09 +0200 Subject: [PATCH] update --- README.md | 16 ++++++++++------ proyect/settings.py | 1 + 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 4bf5f1e..a12fd4d 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/proyect/settings.py b/proyect/settings.py index aa398fe..d9c9d64 100644 --- a/proyect/settings.py +++ b/proyect/settings.py @@ -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