summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki2/authentication.rst
diff options
context:
space:
mode:
authorMichael Merickel <github@m.merickel.org>2024-02-07 21:02:40 -0700
committerGitHub <noreply@github.com>2024-02-07 21:02:40 -0700
commit03e2e439f263aca7d4efa8173c0bbc4aacb8a3c2 (patch)
treea052858496fce4e03b16098cc11e9b8a0aba1617 /docs/tutorials/wiki2/authentication.rst
parent53eb7e7cc6b7bfdedb4df4821af66619bebf909c (diff)
parent222386e96a1711b6215f64ea809a9f4a7a8c2202 (diff)
downloadpyramid-03e2e439f263aca7d4efa8173c0bbc4aacb8a3c2.tar.gz
pyramid-03e2e439f263aca7d4efa8173c0bbc4aacb8a3c2.tar.bz2
pyramid-03e2e439f263aca7d4efa8173c0bbc4aacb8a3c2.zip
Merge pull request #3747 from Pylons/wiki2-sqla-2.0
upgrade the wiki2 tutorial with the new cookiecutter updates
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 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.