found the answer on another question
You can use the ‘yes’ command which passes a ‘y’ to all questions
yes | python manage.py makemigrations myApp
if you want to edit the response (i.e send a ‘yes’ instead of ‘y’) you can add it as a parameter
yes yes | python manage.py migrate
Your migrations should run with the
You may want to make sure you’re migrating the same app that you’ve created the migrations for.
python manage.py showmigrations before and after running your migrations to see what’s going on.
- Make browser submit additional HTTP-Header if click on hyperlink
- Django queryset __contains case sensitive?
- Error "Could not load Boto's S3 bindings."