Skip to main content

Get a django command

Project description

Latest Version https://travis-ci.org/ryanhiebert/django-cmd.svg?branch=master https://codecov.io/gh/ryanhiebert/django-cmd/branch/master/graph/badge.svg

Django only includes the django-admin. They prefer to not include multiple ways to do the same thing, but I really want to spell it django. I also wanted to be able to configure a default settings file in a setup.cfg configuration file.

Usage

pip install django-cmd
django startproject

Once installed, you can use the django command the same as you would normally use the django-admin command. Additionally, you can add a section like this to a setup.cfg file to configure the DJANGO_SETTINGS_MODULE that you would like to use when no other is specified.

[django]
settings_module = myproject.settings

That’s it! Have fun!

Release history Release notifications | RSS feed

This version

1.0

Download files

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

Files for django-cmd, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size django_cmd-1.0-py2.py3-none-any.whl (3.9 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page