|
Saw with great interest Evgeny's answer to this question here about setting up more than one site to run on a single OSQA install. Here were the steps outlined as to what was needed for each site:
I think I understand all steps except step 3. I looked at the existing .wsgi files, and poked around parts of the Python documentation, but couldn't see how to accomplish step 3. How would I specify the particular settings.py file in the *.wsgi file? Thanks! |
|
In the line where you specify the environment variable DJANGO_SETTINGS_MODULE, you just change settings to match the file name for each site, so for example, on site A you can have:
and site B:
Thank you very much!
(08 Jul '10, 01:29)
JW
Hey Hernani, Can someone write this as a wiki? I'm sure this will come handy for anyone who wants to run multiple sites.
(11 Jul '10, 01:35)
pgardiye
|
Hi JW. Did you successfully implemented multi-site set up? I'm stuck. I can use some guidance