From ef01de3970ecaabc7fbabbbd461adcada2997254 Mon Sep 17 00:00:00 2001 From: Zsolt Ero Date: Wed, 27 Jan 2016 02:24:19 +0100 Subject: [PATCH] check_csrf vs. csrf_token in view_config docs --- pyramid/view.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyramid/view.py b/pyramid/view.py index 2867e3d6f5..7e8996ca47 100644 --- a/pyramid/view.py +++ b/pyramid/view.py @@ -165,7 +165,7 @@ def my_view(context, request): ``request_type``, ``route_name``, ``request_method``, ``request_param``, ``containment``, ``xhr``, ``accept``, ``header``, ``path_info``, ``custom_predicates``, ``decorator``, ``mapper``, ``http_cache``, - ``match_param``, ``csrf_token``, ``physical_path``, and ``predicates``. + ``match_param``, ``check_csrf``, ``physical_path``, and ``predicates``. The meanings of these arguments are the same as the arguments passed to :meth:`pyramid.config.Configurator.add_view`. If any argument is left