Metadata-Version: 2.0
Name: django-cmd
Version: 1.0
Summary: Get a django command
Home-page: https://github.com/ryanhiebert/django-cmd
Author: Ryan Hiebert
Author-email: ryan@ryanhiebert.com
License: MIT
Description-Content-Type: UNKNOWN
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Framework :: Django :: 1.8
Classifier: Framework :: Django :: 1.10
Classifier: Framework :: Django :: 1.11
Classifier: Framework :: Django :: 2.0
Requires-Dist: Django

================================
django-cmd: Get a django command
================================

.. image:: https://img.shields.io/pypi/v/django-cmd.svg
   :target: https://pypi.python.org/pypi/django-cmd
   :alt: Latest Version

.. image:: https://travis-ci.org/ryanhiebert/django-cmd.svg?branch=master
   :target: https://travis-ci.org/ryanhiebert/django-cmd

.. image:: https://codecov.io/gh/ryanhiebert/django-cmd/branch/master/graph/badge.svg
   :target: https://codecov.io/gh/ryanhiebert/django-cmd


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
=====

.. code-block:: sh

    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.

.. code-block:: ini

    [django]
    settings_module = myproject.settings

That's it! Have fun!


