Skip to content

ryanhiebert/django-cmd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-cmd: Get a django command

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

Django includes the django-admin command. 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!