From c67cc8722e3b26b729c3fed75db51395b56ac8a0 Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Thu, 17 Oct 2019 01:03:04 -0500 Subject: remove check_csrf view predicate --- CHANGES.rst | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'CHANGES.rst') diff --git a/CHANGES.rst b/CHANGES.rst index e2d5dbbac..0cf66d16f 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -120,6 +120,11 @@ Backward Incompatibilities cases and is largely backward compatible. See https://github.com/Pylons/pyramid/pull/3514 +- Removed the ``check_csrf`` predicate. Instead, use + ``pyramid.config.Configurator.set_default_csrf_options`` and the + ``require_csrf`` view option to enable automatic CSRF checking. + See https://github.com/Pylons/pyramid/pull/3521 + Documentation Changes --------------------- -- cgit v1.2.3