diff options
| author | Michael Merickel <michael@merickel.org> | 2024-02-04 16:14:01 -0700 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2024-02-04 16:14:01 -0700 |
| commit | 286a7a3ee8705b28fb82252daa37896d63ae6741 (patch) | |
| tree | 377c4dcd4095446eeb75c365e37cb2c08493b0ab /docs/tutorials/wiki2/authentication.rst | |
| parent | d3c8d93cfb1282f328ecd133df6565a2df92779f (diff) | |
| download | pyramid-286a7a3ee8705b28fb82252daa37896d63ae6741.tar.gz pyramid-286a7a3ee8705b28fb82252daa37896d63ae6741.tar.bz2 pyramid-286a7a3ee8705b28fb82252daa37896d63ae6741.zip | |
update authentication chapter
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 e8a770491..dba10f4a0 100644 --- a/docs/tutorials/wiki2/authentication.rst +++ b/docs/tutorials/wiki2/authentication.rst @@ -131,9 +131,9 @@ Insert the highlighted line. In the same file, now edit the ``edit_page`` view function: .. literalinclude:: src/authentication/tutorial/views/default.py - :lines: 44-59 + :lines: 49-68 :lineno-match: - :emphasize-lines: 5-7 + :emphasize-lines: 9-11 :language: python Only the highlighted lines need to be changed. @@ -144,9 +144,9 @@ If the user either is not logged in or the user is not the page's creator In the same file, now edit the ``add_page`` view function: .. literalinclude:: src/authentication/tutorial/views/default.py - :lines: 61- + :lines: 70- :lineno-match: - :emphasize-lines: 3-5,13 + :emphasize-lines: 3-5,15 :language: python Only the highlighted lines need to be changed. |
