Fixed: incorrect indentation level for session's permanent attribute
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
This commit is contained in:
parent
1c24b62727
commit
4f1b086218
1 changed files with 5 additions and 5 deletions
10
docs/api.rst
10
docs/api.rst
|
|
@ -187,12 +187,12 @@ To access the current session you can use the :class:`session` object:
|
||||||
# so mark it as modified yourself
|
# so mark it as modified yourself
|
||||||
session.modified = True
|
session.modified = True
|
||||||
|
|
||||||
.. attribute:: permanent
|
.. attribute:: permanent
|
||||||
|
|
||||||
If set to `True` the session life for
|
If set to `True` the session life for
|
||||||
:attr:`~flask.Flask.permanent_session_lifetime` seconds. The
|
:attr:`~flask.Flask.permanent_session_lifetime` seconds. The
|
||||||
default is 31 days. If set to `False` (which is the default) the
|
default is 31 days. If set to `False` (which is the default) the
|
||||||
session will be deleted when the user closes the browser.
|
session will be deleted when the user closes the browser.
|
||||||
|
|
||||||
|
|
||||||
Application Globals
|
Application Globals
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue