startproject is disabled if a settings module is specified
|Reported by:||whiskybar||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I believe the documentation to django-admin.py should say the command startproject will be disabled if a settings module has been specified on the command-line or $DJANGO_SETTINGS_MODULE has been set. I have spent hours browsing docs, tickets, googlegroups, and irc to see where the command startproject has gone and why no one actually complains.
Finally, I came across a very well hidden documentation string at get_commands() in django/core/management/init.py which explained the problem to me.
Change History (10)
comment:1 Changed 8 years ago by
|Patch needs improvement:||unset|
|Status:||new → closed|