From abf54c8182b052db3173d50ba449b6ea9bd40b2b Mon Sep 17 00:00:00 2001 From: David Lord Date: Mon, 29 May 2017 10:29:06 -0700 Subject: [PATCH] fix some config names in new doc --- docs/config.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/config.rst b/docs/config.rst index 9fffa09f..639d1d5a 100644 --- a/docs/config.rst +++ b/docs/config.rst @@ -163,7 +163,7 @@ The following configuration values are used internally by Flask: Default: ``False`` -.. py:data:: SESSION_COOKIE_LIFETIME +.. py:data:: PERMANENT_SESSION_LIFETIME If ``session.permanent`` is true, the cookie's max age will be set to this number of seconds. Can either be a :class:`datetime.timedelta` or an @@ -188,7 +188,7 @@ The following configuration values are used internally by Flask: Default: ``False`` -.. py:data:: SEND_FILE_MAX_AGE +.. py:data:: SEND_FILE_MAX_AGE_DEFAULT When serving files, set the cache control max age to this number of seconds. Can either be a :class:`datetime.timedelta` or an ``int``.