summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki/authorization.rst
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2017-06-11 12:34:43 -0500
committerGitHub <noreply@github.com>2017-06-11 12:34:43 -0500
commit06c28384c1217e054f530df511b434ff543e3132 (patch)
tree2c88d3fe196a3a594eac3d74f49b20c39d0d7aae /docs/tutorials/wiki/authorization.rst
parenta503511cf82ab1db8c66eb949eeb30da92dd621f (diff)
parentfa13770dba3947ce78c2a67041cbd02272992104 (diff)
downloadpyramid-06c28384c1217e054f530df511b434ff543e3132.tar.gz
pyramid-06c28384c1217e054f530df511b434ff543e3132.tar.bz2
pyramid-06c28384c1217e054f530df511b434ff543e3132.zip
Merge pull request #3082 from stevepiercy/master
Update docs to synch with cookiecutter updates
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..c9ba9feb3 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-8
: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.