diff options
| author | Michael Merickel <michael@merickel.org> | 2017-06-18 01:46:27 -0500 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2017-06-18 01:46:27 -0500 |
| commit | 75c30dfe18b26ca04efae2acbe35052fa0d93ed6 (patch) | |
| tree | ebb57879035b60a801cd4deb113c4091956b67be /docs/tutorials/wiki/authorization.rst | |
| parent | 4983421128e2e0fc92c771510f7b3af57de6d855 (diff) | |
| parent | 5c437abba0926f6093efbd481e49763de2436665 (diff) | |
| download | pyramid-75c30dfe18b26ca04efae2acbe35052fa0d93ed6.tar.gz pyramid-75c30dfe18b26ca04efae2acbe35052fa0d93ed6.tar.bz2 pyramid-75c30dfe18b26ca04efae2acbe35052fa0d93ed6.zip | |
Merge branch 'master' into pr/3034
Diffstat (limited to 'docs/tutorials/wiki/authorization.rst')
| -rw-r--r-- | docs/tutorials/wiki/authorization.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/tutorials/wiki/authorization.rst b/docs/tutorials/wiki/authorization.rst index d580e7816..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. @@ -233,7 +233,7 @@ Add the following import statements to the head of .. literalinclude:: src/authorization/tutorial/views.py :lines: 6-17 - :emphasize-lines: 1-14 + :emphasize-lines: 1-12 :language: python All the highlighted lines need to be added or edited. @@ -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. |
