summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/api/session.rst2
-rw-r--r--docs/whatsnew-1.4.rst3
2 files changed, 5 insertions, 0 deletions
diff --git a/docs/api/session.rst b/docs/api/session.rst
index 44b4bd860..31bc196ad 100644
--- a/docs/api/session.rst
+++ b/docs/api/session.rst
@@ -11,4 +11,6 @@
.. autofunction:: signed_deserialize
+ .. autofunction:: check_csrf_token
+
diff --git a/docs/whatsnew-1.4.rst b/docs/whatsnew-1.4.rst
index f57178db1..fc25c415e 100644
--- a/docs/whatsnew-1.4.rst
+++ b/docs/whatsnew-1.4.rst
@@ -153,6 +153,9 @@ Minor Feature Additions
used to generate a configurator in a test, e.g. ``with
testing.testConfig(...):``.
+- A new :func:`pyramid.session.check_csrf_token` convenience API function was
+ added.
+
Backwards Incompatibilities
---------------------------