Skip to content

Commit

Permalink
Refactor Django tutorial documentation
Browse files Browse the repository at this point in the history
The Django tutorial in the docs has been simplified and made more general. The specific 'music' module has been removed from the instructions, replacing it with a guideline to check whether an app is included in the 'INSTALLED_APPS' setting. In addition, changes to the title format and other minor text changes have been implemented to improve clarity and readability.
  • Loading branch information
lipemorais committed May 15, 2024
1 parent c6cab5c commit fec49b0
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 🌐 Building Your First API with Django and Django Rest Framework
~~# 🌐 Building Your First API with Django and Django Rest Framework

## Summary

Expand Down Expand Up @@ -74,12 +74,8 @@ This will clone the repository

Now we are going to create the Django we are going to use in this tutorial.

```shell
cd first_api
./manage.py startapp music
```

This will create the app structure for us. Something similar to this below:
The current project structure is something similar to this below:
```shell
❯ tree .
.
Expand All @@ -101,7 +97,7 @@ This will create the app structure for us. Something similar to this below:
└── views.py
```

Don't forget to add the app music to your INSTALLED_APPS in your `settings.py`
Don't forget to check the app music to your INSTALLED_APPS in your `settings.py`
```python
# first_api/settings.py
...
Expand Down

0 comments on commit fec49b0

Please sign in to comment.