質問

manage.py is under project_home/mysite/mysite/bin/manage.py

I did it following a recommendation from some book.
The point is it's rather hard to execute python manage.py something as it stands since I have to move to the directory or type the directory path leading to it.

Is there a convenient way to call manage.py in this setup?

役に立ちましたか?

解決

If you want to call manage.py anywhere, you can use Django-manage.py-anywhere. As package description says you can run manage.py commands from any directory of your Django project. See more here: https://github.com/timonweb/Django-manage.py-anywhere

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top