|
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. |
|
To fix ImportErrors you need to make sure the module is on your PYTHONPATH. 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 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. Ok I added this:
but still getting the same issue. Am I missing something? Please open a support ticket so we can look at the files in more detail. |