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/wiki2/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/wiki2/authorization.rst')
| -rw-r--r-- | docs/tutorials/wiki2/authorization.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/tutorials/wiki2/authorization.rst b/docs/tutorials/wiki2/authorization.rst index ab04ea405..56237a1b9 100644 --- a/docs/tutorials/wiki2/authorization.rst +++ b/docs/tutorials/wiki2/authorization.rst @@ -159,14 +159,14 @@ logged in user and redirect back to the front page. The ``login`` view callable will look something like this: .. literalinclude:: src/authorization/tutorial/views.py - :pyobject: login + :lines: 90-116 :linenos: :language: python The ``logout`` view callable will look something like this: .. literalinclude:: src/authorization/tutorial/views.py - :pyobject: logout + :lines: 118-122 :linenos: :language: python |
