forked from orbit-oss/flask
Merge pull request #1161 from pbu88/master
Fix warnings and code styling in the doc
This commit is contained in:
commit
96d7cc933a
2 changed files with 4 additions and 3 deletions
|
|
@ -54,6 +54,8 @@ class FlaskClient(Client):
|
|||
the test client uses. Once the with block is left the session is
|
||||
stored back.
|
||||
|
||||
::
|
||||
|
||||
with client.session_transaction() as session:
|
||||
session['value'] = 42
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue