Opened 17 years ago
Closed 17 years ago
#5343 closed (fixed)
Settings module passed through the command line (using --settings) is being ignored
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | Core (Other) | Version: | dev |
Severity: | Keywords: | ||
Cc: | egmanoj@… | Triage Stage: | Unreviewed |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Consider the following command:
[django_project_dir]/> python manage.py test --settings=custom_settings
custom_settings is present in the same directory as settings.py. However the settings present in custom_settings are ignored. It seems that changeset 6047 introduced changes wherein settings get configured *before* custom settings are activated.
Attachments (2)
Change History (4)
by , 17 years ago
Attachment: | core.management.__init__.py.diff added |
---|
by , 17 years ago
Attachment: | core.management.__init__.py.2.diff added |
---|
comment:1 by , 17 years ago
Note:
See TracTickets
for help on using tickets.
Corrected diff.