Update WSGI instructions for Windows for Python 3. Fixes #3847. Patch from Benjamin Hayes.

This commit is contained in:
Dave Page
2019-01-04 09:54:24 +00:00
parent ad56e7fb12
commit 7f40444087

View File

@@ -134,7 +134,7 @@ below which will activate Python virtual environment when Apache server runs.
.. code-block:: python .. code-block:: python
activate_this = 'C:\Program Files\pgAdmin4\venv\Scripts\activate_this.py' activate_this = 'C:\Program Files\pgAdmin4\venv\Scripts\activate_this.py'
execfile(activate_this, dict(__file__=activate_this)) exec(open(activate_this).read())
**Note:** The changes made in ``pgAdmin4.wsgi`` file will revert when pgAdmin4 is either upgraded or downgraded. **Note:** The changes made in ``pgAdmin4.wsgi`` file will revert when pgAdmin4 is either upgraded or downgraded.