summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki/authorization.rst
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2017-06-10 22:09:12 -0700
committerSteve Piercy <web@stevepiercy.com>2017-06-10 22:09:12 -0700
commit909ae055f2f7391036736ff41a0564becb60478f (patch)
tree8092012891597ea9767b780c2e68575723140128 /docs/tutorials/wiki/authorization.rst
parent85623b13b3790dcfae53697f282e9f8e68736e35 (diff)
downloadpyramid-909ae055f2f7391036736ff41a0564becb60478f.tar.gz
pyramid-909ae055f2f7391036736ff41a0564becb60478f.tar.bz2
pyramid-909ae055f2f7391036736ff41a0564becb60478f.zip
synch emphasize-lines with src files for zodb wiki tutorial
Diffstat (limited to 'docs/tutorials/wiki/authorization.rst')
-rw-r--r--docs/tutorials/wiki/authorization.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/tutorials/wiki/authorization.rst b/docs/tutorials/wiki/authorization.rst
index 0ba734f83..211d69f3a 100644
--- a/docs/tutorials/wiki/authorization.rst
+++ b/docs/tutorials/wiki/authorization.rst
@@ -49,7 +49,7 @@ Open ``setup.py`` and edit it to look like the following:
.. literalinclude:: src/authorization/setup.py
:linenos:
- :emphasize-lines: 21
+ :emphasize-lines: 23
:language: python
Only the highlighted line needs to be added.
@@ -155,9 +155,9 @@ statements:
Now add those policies to the configuration:
.. literalinclude:: src/authorization/tutorial/__init__.py
- :lines: 18-23
+ :lines: 18-25
:lineno-match:
- :emphasize-lines: 1-3,5-6
+ :emphasize-lines: 1-3,7-9
: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,22-23
+ :emphasize-lines: 4-5,8,18-20,24-25
:language: python
Only the highlighted lines need to be added or edited.