Search code examples
pythondjangowebfaction

ViewDoesNotExist in webfaction


I upload my project using FTP on webfaction and now using putty i logged in. But same project is working fine but after uploading it is giving error viewdoesnotexist i dont know what changes i have to do i am a newbie. And yeah! a have made changes in apache httpd.conf and created scene_finder.wsgi.

ViewDoesNotExist at /index Could not import scene_finder.views. Error was: No module named views Request Method: GET Request URL: http://gbtech.webfactional.com/index Django Version: 1.3 Exception Type: ViewDoesNotExist Exception Value:
Could not import scene_finder.views. Error was: No module named view

Thanks in advance


Solution

  • In your scene_finder.wsgi there'll probably be some code that sets up your PYTHONPATH. Make sure it includes /home/webapps/django/scene_finder/scene.