diff options
| author | Adam Johnson <me@adamj.eu> | 2021-11-29 17:22:23 +0000 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-01-13 13:05:42 +0100 |
| commit | 436862787cbdbd68b0ba20ed8c23b295e3679df3 (patch) | |
| tree | fd23d005d065df8b80aa205852f3d651b5359fd4 /docs | |
| parent | c6cb5a0277fce1b87a4b417002289c31f0ee44bc (diff) | |
Refs #29708 -- Made SessionBase store expiry as string.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/http/sessions.txt | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/docs/topics/http/sessions.txt b/docs/topics/http/sessions.txt index 34dabdd536..ce92af7b71 100644 --- a/docs/topics/http/sessions.txt +++ b/docs/topics/http/sessions.txt @@ -258,10 +258,8 @@ You can edit it multiple times. ``request.session.set_expiry(300)`` would make the session expire in 5 minutes. - * If ``value`` is a ``datetime`` or ``timedelta`` object, the - session will expire at that specific date/time. Note that ``datetime`` - and ``timedelta`` values are only serializable if you are using the - :class:`~django.contrib.sessions.serializers.PickleSerializer`. + * If ``value`` is a ``datetime`` or ``timedelta`` object, the session + will expire at that specific date/time. * If ``value`` is ``0``, the user's session cookie will expire when the user's web browser is closed. |
