-
a nice little django.pth file in your local site-packages directory +
sys.path.insert(0, '/home/username/.python/lib/python2.4/site-packages')in your django.fcgi - Adding the django module's parent directory directly to sys.path in the fcgi script
None of these are particularly nice solutions, and for some reason, the first one didn't work for me. But at least the 2nd option works and so Django now finally also seems to work on Dreamhost for me :) Big thanks to the authors of the respective articles.
Another funny aspect of Django on Dreamhost is, that the first (or the first two) request(s) after changing the code for the FastCGI wrapper seem(s) to go down the next /dev/null and returns only the usual 500 error message or a nice message from project.urls about an invalid URL although the URL should be correct ;-)
blog comments powered by Disqus