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.

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 hashes)

Uploaded Python 2 Python 3

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