diff options
| author | Chris McDonough <chrism@plope.com> | 2012-01-29 13:32:45 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2012-01-29 13:32:45 -0500 |
| commit | d1ad7044480901123b9c744b686b579491c36683 (patch) | |
| tree | 62b50e8453f84be654e62d27a0c977794e18da51 /docs/tutorials/wiki/authorization.rst | |
| parent | d3988b59c7f515d317dedc4e031cc19f19e8bd25 (diff) | |
| download | pyramid-d1ad7044480901123b9c744b686b579491c36683.tar.gz pyramid-d1ad7044480901123b9c744b686b579491c36683.tar.bz2 pyramid-d1ad7044480901123b9c744b686b579491c36683.zip | |
show decorators along with view callables, fixes #393
Diffstat (limited to 'docs/tutorials/wiki/authorization.rst')
| -rw-r--r-- | docs/tutorials/wiki/authorization.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/tutorials/wiki/authorization.rst b/docs/tutorials/wiki/authorization.rst index fa18d4a41..8f583ece7 100644 --- a/docs/tutorials/wiki/authorization.rst +++ b/docs/tutorials/wiki/authorization.rst @@ -132,14 +132,14 @@ We'll add these views to the existing ``views.py`` file we have in our project. Here's what the ``login`` view callable will look like: .. literalinclude:: src/authorization/tutorial/views.py - :pyobject: login + :lines: 83-111 :linenos: :language: python Here's what the ``logout`` view callable will look like: .. literalinclude:: src/authorization/tutorial/views.py - :pyobject: logout + :lines: 113-117 :linenos: :language: python |
