Browse Source

Fixed: incorrect indentation level for session's permanent attribute

Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
pull/138/head
Daniel D. Beck 14 years ago committed by Armin Ronacher
parent
commit
4f1b086218
  1. 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…
Cancel
Save