`dj cmd` is a shortcut for Django's `python manage.py` commands.
Tired of typing long Django commands like python manage.py runserver? Just
pip install dj-cmd
from any project’s directory.
List of command aliases is a matter of personal taste, so go ahead and adjust the config or fork the project and add yours to the aliases.py file.
Predefined shortcuts include:
Command aliases can be specified in a config file.
If a .djcmd or .dj.ini config file is present in the user’s home directory or in the manage.py base directory, it is used to populate the list of command aliases.
Example of the .djcmd config file:
[commands] r=runserver rp=runserver_plus sh=shell sp=shell_plus dbs=dbshell cs=collectstatic --noinput m=migrate mm=makemigrations sm=showmigrations cleanpyc=clean_pyc
Put it in your home or in the manage.py base directory of your project.
dj-cmd is released under the BSD license.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|File Name & Checksum SHA256 Checksum Help||Version||File Type||Upload Date|
|dj_cmd-1.0.0-py2.py3-none-any.whl (6.6 kB) Copy SHA256 Checksum SHA256||2.7||Wheel||Sep 28, 2016|
|dj-cmd-1.0.0.tar.gz (5.6 kB) Copy SHA256 Checksum SHA256||–||Source||Sep 28, 2016|