Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm a complete newbie to Python and Django but have a need to set up a website.

What commands/parameters would I add to a file of type *.wsgi that could specify a particular settings.py file in the context of Django?

Thanks!

share|improve this question

2 Answers 2

up vote 1 down vote accepted

http://code.google.com/p/modwsgi/wiki/IntegrationWithDjango

if you're using a virtual environment, the path appended should correspond to your virtual environment. You might also take a look at:

http://blog.dscpl.com.au/2010/03/improved-wsgi-script-for-use-with.html

which has a somewhat modified script that I prefer.

share|improve this answer
    
Thank you for your help! –  John Jul 5 '10 at 4:07

In one of these ways.

share|improve this answer
    
Thanks for your help! –  John Jul 5 '10 at 4:16

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.