Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

`dj cmd` is a shortcut for Django's `python` commands.

Project Description

Tired of typing long Django commands like python runserver? Just

pip install dj-cmd

and then

dj r

from any project’s directory.


  • saves typing
  • automatically locates Django’s script in the current or parent directories
  • works great with virtualenv, even on Windows


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 file.

Predefined shortcuts include:

  • r or run - runserver
  • any valid 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 base directory, it is used to populate the list of command aliases.

Example of the .djcmd config file:



cs=collectstatic --noinput



Put it in your home or in the base directory of your project.


dj-cmd is released under the BSD license.

Other Resources

Commercial Support

This app, and many others, have been created at 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 and we will guide you from idea to a final product.

Release History

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download Files

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

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting