Take the 2-minute tour ×
Server Fault is a question and answer site for 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?


share|improve this question

2 Answers 2

up vote 1 down vote accepted


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


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


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.