If this is intended to be input to `manage.py plinit`, you need to do something like this:

~~~ .sh
manage.py plinit << EOF
100
100
yes
[other stuff here]
EOF
cd ..
~~~

As is, when this script is run I get "yes\nyes\nyes\nyes" printed out.