setup_environ assumes that settings module is called "settings"
|Reported by:||Chris Beaven||Owned by:||Adrian Holovaty|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
In several of my apps, I use a
settings_live module (which simply imports * from settings and overrides appropriately).
I can't use
management.setup_environ() for a cron script I'm using because it relies on the settings module actually being called
settings (it's hard coded)
Patch attached which fixes this.