From d5923976b090e3538d9e655d72361cbfab6a250a Mon Sep 17 00:00:00 2001 From: Steve Piercy Date: Sun, 31 May 2015 11:48:55 -0700 Subject: - update testing and templating remarks - grammar, punctuation, 79-column rewrapping, case corrections --- docs/narr/sessions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/narr/sessions.rst') diff --git a/docs/narr/sessions.rst b/docs/narr/sessions.rst index f37cc3c7d..916c6c1f6 100644 --- a/docs/narr/sessions.rst +++ b/docs/narr/sessions.rst @@ -415,7 +415,7 @@ See :meth:`pyramid.config.Configurator.add_view`. ... .. note:: - A mismatch of csrf token is treated like any other predicate miss, and the + A mismatch of CSRF token is treated like any other predicate miss, and the predicate system, when it doesn't find a view, raises ``HTTPNotFound`` instead of ``HTTPBadRequest``, so ``check_csrf=True`` behavior is different from calling :func:`pyramid.session.check_csrf_token`. -- cgit v1.2.3