So, I've worked up a new patch that works for me with manage.py and
django-admin.py both with the settings flag and the environment
variable. The only real difference from the original is that now in
setup_environ, DJANGO_SETTINGS_MODULE is only set if it hasn't been
already. If the DJANGO_SETTINGS_MODULE was set to 'localsettings',
setup_environ was munging it to 'myproject.localsettings' I don't
really use setup_eviron, ever, so I'm not sure if this will have any
unintended consequences, but it seems reasonable to me. Anyone care to
test this or comment before I check it in?

http://code.djangoproject.com/ticket/5943

Joseph

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to