[Answer]-Django With FastCGI Cant Find Settings

1👍

After banging my head against the wall something clicked. I realized that python wasn’t seeing skyblue.settings as a python module. So I added an __ init __ .py file to the skyblue directory. Django does create an __ init __.py file in skyblue/skyblue, but not in the first directory. I don’t know why the fastcgi script couldn’t figure this out from the PYTHONPATH, but whatever I finally have Django depolyed on my Apache shared hosting account using FCGI.

Just a note I did end up deleting the init.py file to get something else to work, but it seems after reading the skyblue.settings file initially it was still seen as a module even after I deleted the init file.

Leave a comment