Opened 7 years ago

Closed 7 years ago

#7622 closed (wontfix)

add default settings module

Reported by: Derek Anderson <public@…> Owned by: nobody
Component: Core (Other) Version: master
Severity: Keywords:
Cc: Triage Stage: Design decision needed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

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)

__init__.py.diff (216 bytes) - added by Derek Anderson <public@…> 7 years ago.
adds reasonable default for DJANGO_SETTINGS_MODULE
add_default_settings_module.diff (314 bytes) - added by Derek Anderson <public@…> 7 years ago.

Download all attachments as: .zip

Change History (7)

Changed 7 years ago by Derek Anderson <public@…>

adds reasonable default for DJANGO_SETTINGS_MODULE

comment:1 Changed 7 years ago by mtredinnick

  • Needs documentation unset
  • Needs tests unset
  • 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.

Changed 7 years ago by Derek Anderson <public@…>

comment:2 Changed 7 years ago by Derek Anderson <public@…>

proper patch added

comment:3 Changed 7 years ago by programmerq

  • Triage Stage changed from Unreviewed to Design decision needed

comment:4 Changed 7 years ago by Derek Anderson <public@…>

  • Patch needs improvement unset

forgot to turn off needs_better_patch on 7/7

comment:5 Changed 7 years ago by adrian

  • Resolution set to wontfix
  • Status changed from new to closed

I don't see any good reason to add this.

Note: See TracTickets for help on using tickets.
Back to Top