Question

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?

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top