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.
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!