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
run manage.py where manage.py is not present?
Frage
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?
Lösung
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow