I am trying to figure out how to configure apache to work with the python3 version of django 2.1. I'm able to get django working properly but I'm having trouble understanding what the handbook says about configuring apache to work with django. The handbook says to add the following to httpd.conf:
What is meant by the '/dir/to/the/django/packages/' section? Any other info that could be helpful would be apreciated.
Apache config:
<Location "/">
SetHandler python-program
PythonPath "['/dir/to/the/django/packages/ '] + sys.path"
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE mysite.settings
PythonAutoReload On
PythonDebug On
</Location>
What is meant by the '/dir/to/the/django/packages/' section? Any other info that could be helpful would be apreciated.