From 01b806f1bebbe201097d506de175369e67c1c4bd Mon Sep 17 00:00:00 2001 From: FeliPython Date: Mon, 29 Apr 2024 09:47:51 -0300 Subject: [PATCH] Revert accidental move of index.md to images folder This commit fixes the issue where index.md was moved to the images folder inadvertently. It restores the correct path for the document and adjusts the paths to the images within it, ensuring the images display correctly in the updated --- docs/{images => }/index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename docs/{images => }/index.md (99%) diff --git a/docs/images/index.md b/docs/index.md similarity index 99% rename from docs/images/index.md rename to docs/index.md index 30120d6..c2ad491 100644 --- a/docs/images/index.md +++ b/docs/index.md @@ -209,7 +209,7 @@ def index(_request): ``` So no you can use the command `task r` to start our django server, so you can access http://127.0.0.1:8000/ to see it. -![my_first_api.png](my_first_api.png) +![my_first_api.png](images/my_first_api.png) Until here we just looked at Django stuff. Now we will dive into Django Rest Framework(DRF) stuff. @@ -306,7 +306,7 @@ Now access http://127.0.0.1:8000/ to see your API working. 🥳 Congratulations now you have your first api working. -![first_api_working.png](first_api_working.png) +![first_api_working.png](images/first_api_working.png) ## Lunch/Break @@ -514,7 +514,7 @@ With everything set we can see it working live. Now we have 2 resources here, artists and albums -![list-artist-album.png](list-artist-album.png) +![list-artist-album.png](images/list-artist-album.png) I hope that at this time you understand the amount of shortcuts DRF gives you at the same time, if you want to customize it, it's still possible.