Opened 17 years ago
Closed 17 years ago
#6252 closed (fixed)
better description of --settings in manage.py
Reported by: | whiskybar | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Keywords: | manage.py settings | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
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.
Attachments (1)
Change History (2)
by , 17 years ago
Attachment: | django-admin.txt.diff added |
---|
comment:1 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
(In [6983]) Fixed #6252 -- Clarified the --settings option in docs/django-admin.txt. Thanks, whiskybar