Skip to content

Commit

Permalink
Downgrade Django and DRF, simplify migration commands
Browse files Browse the repository at this point in the history
Django and Django REST Framework versions have been downgraded from 5.0.6 to 4 and 3.15.1 to 3.13, respectively, for compatibility issues. Also, the migration commands in the docs have been simplified, removing the specific 'music' module, to make the instructions more general and applicable for different modules.
  • Loading branch information
lipemorais committed May 15, 2024
1 parent c3e0aae commit c6cab5c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,8 @@ urlpatterns = [
Now to see it all working together we need to create the migrations for our models with the following steps.
```shell
cd first_api
./manage.py makemigrations music
./manage.py migrate music
./manage.py makemigrations
./manage.py migrate
cd ..
task r
```
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ colorama==0.4.6
# via
# mkdocs-material
# taskipy
django==5.0.6
django==4
# via
# building-your-first-api-with-django-and-django-rest-framework (pyproject.toml)
# djangorestframework
djangorestframework==3.15.1
djangorestframework==3.13
# via building-your-first-api-with-django-and-django-rest-framework (pyproject.toml)
ghp-import==2.1.0
# via mkdocs
Expand Down

0 comments on commit c6cab5c

Please sign in to comment.