Skip to main content

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

Project description

Build Status Latest Version Downloads License

Tired of typing python runserver to invoke Django commands? 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.

Currently supported commands:

  • r or run - runserver
  • any valid command

Config file

Command aliases can also be specified using 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

sma=schemamigration --auto
smi=schemamigration --init

mm=makemessages -a


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.

Do you need help building your web app or api backend? Just drop us a note at and we will guide you from project idea to live website.

Project details

Release history Release notifications

History Node


This version
History Node


History Node


History Node


History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
dj_cmd-0.5-py2.7.egg (6.7 kB) Copy SHA256 hash SHA256 Egg 2.7 Feb 6, 2014 (10.3 kB) Copy SHA256 hash SHA256 Source None Feb 6, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page