Created
April 16, 2021 23:41
-
-
Save xxGus/7a42111d463dd610fa23a99748314d15 to your computer and use it in GitHub Desktop.
Django tips
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Changing models | |
- Change your models (in models.py). | |
- Run python manage.py makemigrations to create migrations for those changes | |
- Run python manage.py migrate to apply those changes to the database. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment