How do I stop getting ImportError: Could not import settings 'mofin.settings' when using django with wsgi?

前端 未结 15 2007
渐次进展
渐次进展 2020-12-04 11:15

I can\'t get wsgi to import my settings file for my project \'mofin\'.

The list of errors from the apache error log are as follows

mod_wsgi (pid=4001         


        
15条回答
  •  北荒
    北荒 (楼主)
    2020-12-04 11:55

    I had a similar permissions problem, and although my settings.py had the right permissions, the .pyc's did not!!! So watch out for this.

提交回复
热议问题