summaryrefslogtreecommitdiff
path: root/docs/glossary.rst
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2016-04-10 20:50:10 -0500
committerMichael Merickel <michael@merickel.org>2016-04-10 22:12:38 -0500
commit6b35eb6ca3b271e2943d37307c925c5733e082d9 (patch)
tree6e959fc6b963a07878409859d54494f8a1d2d017 /docs/glossary.rst
parent9e9fa9ac40bdd79fbce69f94a13d705e40f3d458 (diff)
downloadpyramid-6b35eb6ca3b271e2943d37307c925c5733e082d9.tar.gz
pyramid-6b35eb6ca3b271e2943d37307c925c5733e082d9.tar.bz2
pyramid-6b35eb6ca3b271e2943d37307c925c5733e082d9.zip
rewrite csrf checks to support a global setting to turn it on
- only check csrf on POST - support "pyramid.require_default_csrf" setting - support "require_csrf=True" to fallback to the global setting to determine the token name
Diffstat (limited to 'docs/glossary.rst')
-rw-r--r--docs/glossary.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/glossary.rst b/docs/glossary.rst
index 039665926..ef9c66b99 100644
--- a/docs/glossary.rst
+++ b/docs/glossary.rst
@@ -1098,3 +1098,11 @@ Glossary
implementing the :class:`pyramid.interfaces.IViewDeriver` interface.
Examples of built-in derivers including view mapper, the permission
checker, and applying a renderer to a dictionary returned from the view.
+
+ truthy string
+ A string represeting a value of ``True``. Acceptable values are
+ ``t``, ``true``, ``y``, ``yes``, ``on`` and ``1``.
+
+ falsey string
+ A string represeting a value of ``False``. Acceptable values are
+ ``f``, ``false``, ``n``, ``no``, ``off`` and ``0``.