diff options
| author | Michael Merickel <michael@merickel.org> | 2018-08-10 10:28:04 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-10 10:28:04 -0500 |
| commit | 3ee04cc62205b10eb9041b0df5e156936765202f (patch) | |
| tree | 666862c069fce963e4fac454b767f08586687686 /docs/tutorials/wiki2/authentication.rst | |
| parent | 0ad05afc020d2790048d4ca85d936b4ea79eae13 (diff) | |
| parent | 0760eba8fd5a0d8f0424c329ce92e9fb8d003f11 (diff) | |
| download | pyramid-3ee04cc62205b10eb9041b0df5e156936765202f.tar.gz pyramid-3ee04cc62205b10eb9041b0df5e156936765202f.tar.bz2 pyramid-3ee04cc62205b10eb9041b0df5e156936765202f.zip | |
Merge branch 'master' into feature/more-samesite-work
Diffstat (limited to 'docs/tutorials/wiki2/authentication.rst')
| -rw-r--r-- | docs/tutorials/wiki2/authentication.rst | 8 |
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: |
