summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki2/authentication.rst
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2018-08-04 19:05:58 -0500
committerGitHub <noreply@github.com>2018-08-04 19:05:58 -0500
commit76c066c20f61fe99101e24c3781ed551e710e635 (patch)
tree5433754a62d4ea5925bb1b1587bacc46b6f46f02 /docs/tutorials/wiki2/authentication.rst
parentdc2eee4c65657da7d50bea8e2069f728ce012391 (diff)
parent6dd7a85cf2b83ae0f34f4f00a129e8ba2b938fa0 (diff)
downloadpyramid-76c066c20f61fe99101e24c3781ed551e710e635.tar.gz
pyramid-76c066c20f61fe99101e24c3781ed551e710e635.tar.bz2
pyramid-76c066c20f61fe99101e24c3781ed551e710e635.zip
Merge pull request #3307 from Pylons/alembic-cookiecutter-alchemy
Add Alembic support from alchemy cookiecutter
Diffstat (limited to 'docs/tutorials/wiki2/authentication.rst')
-rw-r--r--docs/tutorials/wiki2/authentication.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/tutorials/wiki2/authentication.rst b/docs/tutorials/wiki2/authentication.rst
index 85977d1be..3f2fcec83 100644
--- a/docs/tutorials/wiki2/authentication.rst
+++ b/docs/tutorials/wiki2/authentication.rst
@@ -122,15 +122,15 @@ Remember our goals:
* Only allow ``editor`` users and the page creator (possibly a ``basic`` user)
to edit pages.
-Open the file ``tutorial/views/default.py`` and fix the following imports:
+Open the file ``tutorial/views/default.py`` and fix the following import:
.. literalinclude:: src/authentication/tutorial/views/default.py
- :lines: 5-13
+ :lines: 5-9
:lineno-match:
- :emphasize-lines: 2,9
+ :emphasize-lines: 2
:language: python
-Change the two highlighted lines.
+Change the highlighted line.
In the same file, now edit the ``edit_page`` view function: