1

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?

4

1 回答 1

0

如果你想在manage.py任何地方打电话,你可以使用Django-manage.py-anywhere. 正如包描述所说,您可以从 Django 项目的任何目录运行 manage.py 命令。在此处查看更多信息:https ://github.com/timonweb/Django-manage.py-anywhere

于 2018-01-27T12:46:01.700 回答