sys.path.append('/var/www/myproject/apps') add this to your WSGI script