Skip to main content

`dj cmd` is a Django shortcut command.

Project description

Build Status

Tired of typing python manage.py runserver? Just

pip install dj-cmd

and then

dj run

from any project’s subdirectory.

Features

  • saves typing

  • automatically locates manage.py script in current or parent directories

  • works great with virtualenv and on Windows

Commands

List of command aliases is a matter of personal taste, so go ahead and adjust it by forking the project and adding yours to the aliases.py file.

Currently supported commands:

  • run - runserver

  • any valid manage.py command

Config file

Alternatively, additional aliases can be specified with the ~/dj.ini file.

If the .dj.ini config file is present in the user’s home directory, it is used to populate list of command aliases.

Example of the config file:

[commands]
h=help
rs=runserver

License

dj-cmd is released under the BSD license.

Similar projects

This is not the first project of this kind. Other may suits you better, this works well for me.

Other Resources

Project details


Download files

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

Source Distribution

dj-cmd-0.2.zip (7.8 kB view hashes)

Uploaded Source

Built Distribution

dj_cmd-0.2-py2.7.egg (5.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page