timonweb / Django-manage.py-anywhere

Run manage.py commands from anywhere. Finds the closest to current path manage.py file and runs commands against it.

Home Page:http://timonweb.com/posts/running-django-managepy-commands-from-anywhere/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Django-manage.py-anywhere

Run manage.py commands from any directory of your Django project.

NOTE: This tool doesn't need any further updates, so don't worry if you see that it hasn't got any updates recently. It doesn't need any. It just works with any Django version. Enjoy!

Installation is quick and simple

One line installer:

pip install django_managepy_anywhere

Usage

Run manage.py from any directory of your Django project. It will find closest manage.py file to your current position and execute it. The closer the file, the faster it will be found and executed. Usually, if you're within your Django code directory, manage.py will be found and executed very quickly.

Version 2.0

While version 1.0 was based on bash, I completely rewrote the script in v2.0 and now it uses Python to execute. Should be more reliable in different environments, especially in Docker.

About

Run manage.py commands from anywhere. Finds the closest to current path manage.py file and runs commands against it.

http://timonweb.com/posts/running-django-managepy-commands-from-anywhere/


Languages

Language:Python 100.0%