summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki/authorization.rst
diff options
context:
space:
mode:
authorPatricio Paez <pp@pp.com.mx>2012-12-01 17:59:44 -0600
committerPatricio Paez <pp@pp.com.mx>2012-12-01 17:59:44 -0600
commitb0b299feddcb25f29e6eb133865956fcd5bc0d6b (patch)
tree5b8ae40295a6379fb6a642778bd60a501bc4e190 /docs/tutorials/wiki/authorization.rst
parent6d1eeedcd341a0468a2567f3034dde4d6dbcc6bd (diff)
downloadpyramid-b0b299feddcb25f29e6eb133865956fcd5bc0d6b.tar.gz
pyramid-b0b299feddcb25f29e6eb133865956fcd5bc0d6b.tar.bz2
pyramid-b0b299feddcb25f29e6eb133865956fcd5bc0d6b.zip
Update line references
- In the Basic Layout and Authorization chapters of the ZODB wiki tutorial
Diffstat (limited to 'docs/tutorials/wiki/authorization.rst')
-rw-r--r--docs/tutorials/wiki/authorization.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/tutorials/wiki/authorization.rst b/docs/tutorials/wiki/authorization.rst
index 24249945a..e90dfe12d 100644
--- a/docs/tutorials/wiki/authorization.rst
+++ b/docs/tutorials/wiki/authorization.rst
@@ -127,7 +127,7 @@ add these import statements:
Now add those policies to the configuration:
.. literalinclude:: src/authorization/tutorial/__init__.py
- :lines: 17-22
+ :lines: 18-23
:linenos:
:emphasize-lines: 1-3,5-6
:language: python
@@ -213,7 +213,7 @@ expire an auth ticket cookie.
Now add the ``login`` and ``logout`` views:
.. literalinclude:: src/authorization/tutorial/views.py
- :lines: 87-120
+ :lines: 82-120
:linenos:
:language: python
@@ -306,7 +306,7 @@ when we're done:
.. literalinclude:: src/authorization/tutorial/__init__.py
:linenos:
- :emphasize-lines: 4-5,8,17-19,21-22
+ :emphasize-lines: 4-5,8,18-20,22-23
:language: python
(Only the highlighted lines need to be added.)