I have fecora 11, install django with mod_wsgi2.5 and apache2.2. And I can run "python manage.py runningerver" on the local computer. It is working fine. I got an error when I test from a remote browser.
Thanks for any suggestion and help!
I had this problem. He left when I added sys.path.append('/path/to/project')to my .wsgi file.
sys.path.append('/path/to/project')
, Django, $PYTHONPATH ( Python )? , Django /home/wwwuser/web/myproj, /home/wwwuser/web $PYTHONPATH. script, -.
$PYTHONPATH
/home/wwwuser/web/myproj
/home/wwwuser/web
, , PYTHONPATH, urls.py myproject.myapp.views.functionname.
:
./manage runserver
/usr/local/django/myapp
ImportError
Source: https://habr.com/ru/post/1716526/More articles:Redirecting the root only via .htaccess with other rules - redirectSWT Set column height or insert new row - javaHow to manage namespace in .NET SoapFormatter? - c #Show HTML in JSP (don't βrenderβ HTML) - htmlWhy doesn't Coldfusion send an email if only one of them is invalid? - coldfusionLINQ: get the first character of each line in the array - stringSubsonic 3.0.0.3 SQL Paging Using Linq - linqAsp.net Mvc: nullable filter parameter - nullableiostream user data - c ++Problem using log4j with 2 axis - log4jAll Articles