dj cmd
Tired of typing long Django commands like python manage.py runserver? Just
pip install dj-cmd
and then
dj r
from any project’s directory.
Features
saves typing
automatically locates Django’s manage.py script in the current or parent directories
works great with virtualenv, even on Windows
Commands
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:
r or run - runserver
any valid manage.py command
Config file
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.
License
dj-cmd is released under the BSD license.
Other Resources
GitHub repository - https://github.com/nigma/dj-cmd
PyPi Package site - http://pypi.python.org/pypi/dj-cmd
Sample config file - https://github.com/nigma/dj-cmd/blob/master/.djcmd
Commercial Support
This app, and many others, have been created at en.ig.ma web & mobile development.
Want to create a cutting edge web or mobile app or need help with setting up backend architecture? Just drop us a note at en@ig.ma and we will guide you from idea to a final product.
Metadata
Release files for dj-cmd 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dj-cmd-1.0.0.tar.gz | 5.6 kB | Without provenance | Details for dj-cmd-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dj_cmd-1.0.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for dj_cmd-1.0.0-py2.py3-none-any.whl |
Total release size: 12.2 kB
Release files / dj-cmd-1.0.0.tar.gz
| Download URL | dj-cmd-1.0.0.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
47588966ebf4345d792fdfd8512f8797be57e780454c02188e6f2583b50d03b5
|
|
BLAKE2b-256 checksum How to use checksums |
1a1cc45256955a4b162b173e1eee56443fd77cb3b0d06baf77da85ebfa5fe172
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / dj_cmd-1.0.0-py2.py3-none-any.whl
| Download URL | dj_cmd-1.0.0-py2.py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
51eabf4e8aae5c811d3e99b0ff7e6c2b09300e8daffa63e45625eb9953e90a39
|
|
BLAKE2b-256 checksum How to use checksums |
7c2078c31a861963764ccea665961fdaea848cbe546f99c59b52feb54c069566
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for dj-cmd 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.