Update WSGI instructions for Windows for Python 3. Fixes #3847. Patch from Benjamin Hayes.
parent
ad56e7fb12
commit
7f40444087
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue