开发者

south django migrate

开发者 https://www.devze.com 2023-01-12 20:39 出处:网络
I installed south and I try to use it to migrate now: ./manage.py schemamigration myapp --initial I get a :

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

精彩评论

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