I've noticed that after I uploaded my django site from my local copy to the production (live site) I keep getting this error in my django error log.
Why would I be getting this, its a standard app I made in my project? Any help in fixing this would be greatly appreciated. asked 09 Feb '12, 11:17 Steve |
To fix ImportErrors you need to make sure the module is on your PYTHONPATH. answered 09 Feb '12, 11:37 timg ♦♦ Im relatively new to moving to production servers, etc. For adding the module to the python path, do I add a new line and add it there or how do I go about it? Thanks
(09 Feb '12, 11:43)
Steve
This depends on which of the methods you choice to add the path. I would recommend using the wsgi method and use this syntax: Once you have added the path, be sure to restart apache to pick up the change.
(09 Feb '12, 11:46)
timg ♦♦
Ok I added this:
but still getting the same issue. Am I missing something?
(09 Feb '12, 11:56)
Steve
Please open a support ticket so we can look at the files in more detail.
(09 Feb '12, 12:32)
timg ♦♦
|