[Answered ]-Syntax Error when deploying django on apache2

1👍

I installed mod_wsgi in my venv and edited /etc/apache2/mods-avaible/wsgi.load

LoadModule wsgi_module "/home/zakhar/django_test/env/lib/python3.8/site-packages/mod_wsgi/server/mod_wsgi-py38.cpython-38-x86_64-linux-gnu.so"
WSGIPythonHome "/home/zakhar/django_test/env"
👤Zakhar

Leave a comment