Skip to content

Commit

Permalink
Revert accidental move of index.md to images folder
Browse files Browse the repository at this point in the history
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
  • Loading branch information
lipemorais committed Apr 29, 2024
1 parent 2e1bbb6 commit 01b806f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/images/index.md → docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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.

Expand Down

0 comments on commit 01b806f

Please sign in to comment.