better description of --settings in manage.py
|Reported by:||whiskybar||Owned by:||nobody|
|Has patch:||yes||Needs documentation:|
|Needs tests:||Patch needs improvement:|
I believe the django-admin documentation page should mention how manage.py takes care of DJANGO_SETTINGS_MODULE instead of stating the fact. django-admin.py actually does not use DJANGO_SETTINGS_MODULE at all but always looks for settings.py in the current PYTHONPATH. I usually work with DJANGO_SETTINGS_MODULE=settings_dev and the production settings.py included and overridden in this settings_dev.py. I always have to pass --settings=settings_dev to manage.py; this is not obvious from the documentation though.