Hi, im trying to run test project on hosting and keep seeing this error
i am using django 4.1 (also appears on 4.2 and 3.1.7), python 3.10
My passenger_wsgi.py looks like this:
import os, sys
sys.path.insert(0, ‘/home/v/viktogdt/flights/flightdensity’)
sys.path.insert(1, ‘/home/v/viktogdt/flights/djangoenv/lib/python3.10/site-packages’)
os.environ[‘DJANGO_SETTINGS_MODULE’] = ‘flightdensity.settings’
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()
My .htaccess looks like this:
PassengerEnabled On
PassengerPython /home/v/viktogdt/flights/djangoenv/bin/python3.10
Its my first try deploying django project, so i assuming i forget something, but i double checked hosting documentation and do all what this told to do. How i can fix this?