summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pyramid/interfaces.py2
-rw-r--r--src/pyramid/session.py4
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