diff options
| author | Ben Fagin <blouis@unquietcode.com> | 2017-10-18 13:38:48 -0700 |
|---|---|---|
| committer | Benjamin Fagin <bfagin@fabricgenomics.com> | 2017-10-18 13:41:33 -0700 |
| commit | b4659cae1b4b0b0e42cd0c1b8f01ea413c86ae88 (patch) | |
| tree | af8ad211494ad04b6c3ec11336d74b4065c9ca86 /docs | |
| parent | dba0b43c4c8e848a22be38e863219dd512bf992b (diff) | |
| download | pyramid-b4659cae1b4b0b0e42cd0c1b8f01ea413c86ae88.tar.gz pyramid-b4659cae1b4b0b0e42cd0c1b8f01ea413c86ae88.tar.bz2 pyramid-b4659cae1b4b0b0e42cd0c1b8f01ea413c86ae88.zip | |
csrf documentation change
Diffstat (limited to 'docs')
| -rw-r--r-- | 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 3a6bfa5e5..0265152fa 100644 --- a/docs/narr/security.rst +++ b/docs/narr/security.rst @@ -874,8 +874,8 @@ the user, and returns the token. .. 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:: |
