remove Python 2 from docs

This commit is contained in:
David Lord 2020-04-03 11:58:16 -07:00
parent 96b4dcafc3
commit 7673835b3d
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
17 changed files with 53 additions and 908 deletions

View file

@ -210,11 +210,6 @@ you have to modify your ``.wsgi`` file slightly.
Add the following lines to the top of your ``.wsgi`` file::
activate_this = '/path/to/env/bin/activate_this.py'
execfile(activate_this, dict(__file__=activate_this))
For Python 3 add the following lines to the top of your ``.wsgi`` file::
activate_this = '/path/to/env/bin/activate_this.py'
with open(activate_this) as file_:
exec(file_.read(), dict(__file__=activate_this))