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!

Project details


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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

django_cmd-1.0-py2.py3-none-any.whl (3.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django_cmd-1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_cmd-1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 23bb10fe17a5365f9ccd7f16312c49e505b208ff37ea1556cdf48b84fe372df4
MD5 42bfe5bbb556569ca2a56c5d68eaba92
BLAKE2b-256 4f4668baafdb728d45d15d5f1dfbcf5fcda2c880f5e1caa2bbbd33d2cd6dfcd0

See more details on using hashes here.

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