diff options
| author | Michael Merickel <michael@merickel.org> | 2020-11-28 22:54:49 -0600 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2020-11-28 22:54:49 -0600 |
| commit | 46a9c339cdbdf9e78f585026054e3ecdba2ee53d (patch) | |
| tree | b1e4ebbd9d77f8955f3bac8c8ad07cad9679aa2a /src | |
| parent | 044a55a91daa854b2a529804641cc4219a7a9573 (diff) | |
| download | pyramid-46a9c339cdbdf9e78f585026054e3ecdba2ee53d.tar.gz pyramid-46a9c339cdbdf9e78f585026054e3ecdba2ee53d.tar.bz2 pyramid-46a9c339cdbdf9e78f585026054e3ecdba2ee53d.zip | |
add examples for upgrading
Diffstat (limited to 'src')
| -rw-r--r-- | src/pyramid/interfaces.py | 2 | ||||
| -rw-r--r-- | src/pyramid/session.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/pyramid/interfaces.py b/src/pyramid/interfaces.py index 29c5eb0da..cd2818c22 100644 --- a/src/pyramid/interfaces.py +++ b/src/pyramid/interfaces.py @@ -1139,7 +1139,7 @@ class ISession(IDict): support types that can be serialized using JSON. It's recommended to switch any session implementations to support only JSON and to only store primitive types in sessions. See - :ref:`pickle_session_deprecation` for more information about why this + :ref:`upgrading_session_20` for more information about why this change was made. .. versionchanged:: 1.9 diff --git a/src/pyramid/session.py b/src/pyramid/session.py index 8c27aa674..032d58a8b 100644 --- a/src/pyramid/session.py +++ b/src/pyramid/session.py @@ -51,7 +51,7 @@ class PickleSerializer: Pyramid will require JSON-serializable objects in :app:`Pyramid` 2.0. - Please see :ref:`pickle_session_deprecation`. + Please see :ref:`upgrading_session_20`. A serializer that uses the pickle protocol to dump Python data to bytes. @@ -456,7 +456,7 @@ def SignedCookieSessionFactory( In :app:`Pyramid` 2.0 the default ``serializer`` option changed to use :class:`pyramid.session.JSONSerializer`. See - :ref:`pickle_session_deprecation` for more information about why this + :ref:`upgrading_session_20` for more information about why this change was made. .. versionadded: 1.5a3 |
