summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2018-06-30 05:28:39 -0700
committerSteve Piercy <web@stevepiercy.com>2018-06-30 05:28:39 -0700
commitf0442aa04a71653f8b6ac6f76d558e1230f3305d (patch)
treef2fc30fb295a0979de6eb5b8d62a78949fcb5ddf /docs
parentf63c10ee0eed7cbcb59c68535cbccf2fa88d41e0 (diff)
downloadpyramid-f0442aa04a71653f8b6ac6f76d558e1230f3305d.tar.gz
pyramid-f0442aa04a71653f8b6ac6f76d558e1230f3305d.tar.bz2
pyramid-f0442aa04a71653f8b6ac6f76d558e1230f3305d.zip
synch up linenos with source code
Diffstat (limited to 'docs')
-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: