forked from orbit-oss/flask
remove Python 2 from docs
This commit is contained in:
parent
96b4dcafc3
commit
7673835b3d
17 changed files with 53 additions and 908 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue