south django migrate
I installed south and I try to use it to migrate now:
./manage.py schemamigration myapp --initial
I get a :
-bash: ./manage.py: Permission 开发者_JS百科denied
and if I sudo I get:
sudo: ./manage.py: command not found
Response.
Whats wrong?
Thanks!
Your manage.py
isn't executable. Simply pass it to the interpreter instead.
python manage.py ...
You could also make it executable:
sudo chmod u+x
So you can run it like ./manage.py
精彩评论