Home Django
Post
Cancel

Django

Model Migration

Before anything, build the initial model creation

python manage.py makemigrations

python manage.py migrate

Change a field

python manage.py makemigrations

python manage.py migrate

This post is licensed under CC BY 4.0 by the author.