#5840 closed (invalid)
Error in mod_python documentation
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
<VirtualHost *> ServerName www.example.com # ... <Location "/something"> SetEnv DJANGO_SETTINGS_MODULE mysite.settings PythonInterpreter mysite </Location> <Location "/otherthing"> SetEnv DJANGO_SETTINGS_MODULE mysite.other_settings PythonInterpreter mysite_other </Location> </VirtualHost>
Should read:
<VirtualHost *> ServerName www.example.com # ... <Location "/something"> SetEnv DJANGO_SETTINGS_MODULE mysite.settings PythonInterpreter mysite </Location> <Location "/otherthing"> SetEnv DJANGO_SETTINGS_MODULE mysite_other.settings PythonInterpreter mysite_other </Location> </VirtualHost>
(Change is in the second SetEnv line)
Change History (2)
comment:1 by , 17 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 by , 17 years ago
In [6630], changed name of PythonInterpreter
so as not to get confused with the use of DJANGO_SETTINGS_MODULE mysite.other_settings
Note:
See TracTickets
for help on using tickets.
It doesn't matter whether you're using two different settings files contained in the same project (i.e.
mysite.settings
andmysite.other_settings
) or two different settings files from two different projects (i.e.mysite.settings
andmysite_other.settings
).