According the Polls tutorial:
-
python manage.py makemigrations <app>
: Create the migrations (generate theSQL
commands). -
python manage.py migrate
: Run the migrations (execute theSQL
commands).
According the Polls tutorial:
python manage.py makemigrations <app>
: Create the migrations (generate the SQL
commands).
python manage.py migrate
: Run the migrations (execute the SQL
commands).