summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki/authorization.rst
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2017-08-03 22:36:25 -0700
committerSteve Piercy <web@stevepiercy.com>2017-08-03 22:36:25 -0700
commit759febef4df499d7dbd68e0a74f17b69e4e68ad2 (patch)
treecc5317be11c49ae498da947304fb0d8eef3cd89b /docs/tutorials/wiki/authorization.rst
parent1b8a348919b00a1d0d6e4b0110646b884b72dec8 (diff)
downloadpyramid-759febef4df499d7dbd68e0a74f17b69e4e68ad2.tar.gz
pyramid-759febef4df499d7dbd68e0a74f17b69e4e68ad2.tar.bz2
pyramid-759febef4df499d7dbd68e0a74f17b69e4e68ad2.zip
update zodb wiki files to synch with its cookiecutter using context manager
Diffstat (limited to 'docs/tutorials/wiki/authorization.rst')
-rw-r--r--docs/tutorials/wiki/authorization.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/tutorials/wiki/authorization.rst b/docs/tutorials/wiki/authorization.rst
index c9ba9feb3..9a8313748 100644
--- a/docs/tutorials/wiki/authorization.rst
+++ b/docs/tutorials/wiki/authorization.rst
@@ -157,7 +157,7 @@ Now add those policies to the configuration:
.. literalinclude:: src/authorization/tutorial/__init__.py
:lines: 18-25
:lineno-match:
- :emphasize-lines: 1-3,7-8
+ :emphasize-lines: 2-4,6-7
:language: python
Only the highlighted lines need to be added.
@@ -327,7 +327,7 @@ Our ``tutorial/__init__.py`` will look like this when we're done:
.. literalinclude:: src/authorization/tutorial/__init__.py
:linenos:
- :emphasize-lines: 4-5,8,18-20,24-25
+ :emphasize-lines: 4-5,8,19-21,23-24
:language: python
Only the highlighted lines need to be added or edited.