From f0442aa04a71653f8b6ac6f76d558e1230f3305d Mon Sep 17 00:00:00 2001 From: Steve Piercy Date: Sat, 30 Jun 2018 05:28:39 -0700 Subject: synch up linenos with source code --- docs/tutorials/wiki2/authentication.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/tutorials/wiki2/authentication.rst') 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: -- cgit v1.2.3