#18518: wsgi.py does not overwrite DJANGO_SETTINGS_MODULE in apache prefork
-------------------------------------+-------------------------------------
Reporter: schaefer@… | Owner: nobody
Type: Bug | Status: reopened
Component: Uncategorized | Version: 1.4
Severity: Normal | Resolution:
Keywords: | Triage Stage: Design
Has patch: 0 | decision needed
Needs tests: 0 | Needs documentation: 0
Easy pickings: 0 | Patch needs improvement: 0
| UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by schaefer@…):
What, exactly, would be the use case for setting `DJANGO_SETTINGS_MODULE`
prior to wsgi.py seeing it? `SetEnv` does not work, so you can not set the
environment variable from the Apache config. Where, exactly, would a user
set it? It seems to me that setting `D_S_M` outside of wsgi.py would be
the niche case, in which case the user can edit `wsgi.py` for his needs?
--
Ticket URL: <https://code.djangoproject.com/ticket/18518#comment:9>
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 [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-updates?hl=en.