Django 2.0 Migrate 三连

u=189108216,220937517&fm=11&gp=0.jpg

python3 manage.py makemigrations polls

polls/migrations/0001_initial.py

python3 manage.py sqlmigrate polls 0001

python3 manage.py migrate

Advertisements