summaryrefslogtreecommitdiff
path: root/docs/narr
diff options
context:
space:
mode:
Diffstat (limited to 'docs/narr')
-rw-r--r--docs/narr/install.rst2
-rw-r--r--docs/narr/security.rst4
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/narr/install.rst b/docs/narr/install.rst
index 61c6e6c25..a9ec68d61 100644
--- a/docs/narr/install.rst
+++ b/docs/narr/install.rst
@@ -51,7 +51,7 @@ Python comes pre-installed on Mac OS X, but due to Apple's release cycle, it is
often out of date. Unless you have a need for a specific earlier version, it is
recommended to install the latest 3.x version of Python.
-You can install the latest verion of Python for Mac OS X from the binaries on
+You can install the latest version of Python for Mac OS X from the binaries on
`python.org <https://www.python.org/downloads/mac-osx/>`_.
Alternatively, you can use the `homebrew <https://brew.sh/>`_ package manager.
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::