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

pull/19/head
Dave Page 2019-01-04 09:54:24 +00:00
parent ad56e7fb12
commit 7f40444087
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ below which will activate Python virtual environment when Apache server runs.
.. code-block:: python
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.