summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki/authorization.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2012-12-10 15:34:30 -0500
committerChris McDonough <chrism@plope.com>2012-12-10 15:34:30 -0500
commit8389a5b3339b18f2ba7242d05d11ecb64371f3d9 (patch)
tree113a6b7aea8015518c89cfa42e9bb0df34bed37c /docs/tutorials/wiki/authorization.rst
parenta078e197d04400d2430206fe31e3398c761b20a3 (diff)
parentf3a84be3b0e37b74acc26cfb413800610af85b86 (diff)
downloadpyramid-8389a5b3339b18f2ba7242d05d11ecb64371f3d9.tar.gz
pyramid-8389a5b3339b18f2ba7242d05d11ecb64371f3d9.tar.bz2
pyramid-8389a5b3339b18f2ba7242d05d11ecb64371f3d9.zip
Merge branch 'master' of github.com:Pylons/pyramid
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.)