#15064: DJANGO_SETTINGS_MODULE doesn't work with runserver -------------------------------------+------------------------------------- Reporter: olau | Owner: ShawnMilo Type: Bug | Status: closed Milestone: | Component: Core (Management Version: 1.3 | commands) Resolution: fixed | Severity: Normal Triage Stage: Accepted | Keywords: Needs documentation: 0 | Has patch: 1 Patch needs improvement: 0 | Needs tests: 0 | Easy pickings: 1 -------------------------------------+------------------------------------- Changes (by lsaffre):
* cc: luc.saffre@… (added) Comment: It took me a few days to understand that my problems came from this change. This change has also the effect that DJANGO_SETTINGS_MODULE will take precedence over any existing settings.py in the current directory. Until now I almost never set DJANGO_SETTINGS_MODULE when developing, I just go to "my" directory and called manage.py. Now I must take care of not having accidentally DJANGO_SETTINGS_MODULE set to some other project. Maybe a warning would be useful. -- Ticket URL: <https://code.djangoproject.com/ticket/15064#comment:17> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.