Opened 17 years ago
Closed 17 years ago
#7622 closed (wontfix)
add default settings module
| Reported by: | Owned by: | nobody | |
|---|---|---|---|
| Component: | Core (Other) | Version: | dev |
| Severity: | Keywords: | ||
| Cc: | Triage Stage: | Design decision needed | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
add a reasonable default to the django settings importer. some of us write notable quantities of helper scripts for our django apps, and i can see no reason not to try to open the default settings.py before kicking off the "no DJANGO_SETTINGS_MODULE set" error message.
Attachments (2)
Change History (7)
by , 17 years ago
| Attachment: | __init__.py.diff added |
|---|
comment:1 by , 17 years ago
| Patch needs improvement: | set |
|---|
I doubt this is a really good idea, since there's not necessarily a good set of defaults, but could you at least attach a proper patch (created from the root of the Django tree) so that we can see what you're trying to change here. That will help evaluate things better.
by , 17 years ago
| Attachment: | add_default_settings_module.diff added |
|---|
comment:3 by , 17 years ago
| Triage Stage: | Unreviewed → Design decision needed |
|---|
comment:4 by , 17 years ago
| Patch needs improvement: | unset |
|---|
forgot to turn off needs_better_patch on 7/7
comment:5 by , 17 years ago
| Resolution: | → wontfix |
|---|---|
| Status: | new → closed |
I don't see any good reason to add this.
adds reasonable default for DJANGO_SETTINGS_MODULE