开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜