From 8a199412ea3a5f1f9dd9f9eef278973c03b0a5d5 Mon Sep 17 00:00:00 2001 From: Steve Piercy <web@stevepiercy.com> Date: Thu, 19 Oct 2017 14:48:49 +0200 Subject: [PATCH] Merge pull request #3179 from stevepiercy/1.9-branch --- docs/narr/security.rst | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/narr/security.rst b/docs/narr/security.rst index 3a6bfa5..0265152 100644 --- a/docs/narr/security.rst +++ b/docs/narr/security.rst @@ -874,8 +874,8 @@ .. code-block:: python - from pyramid.csrf import get_csrf_token - token = new_csrf_token() + from pyramid.csrf import new_csrf_token + token = new_csrf_token(request) .. note:: -- Gitblit v1.9.3