diff options
| author | Chris McDonough <chrism@plope.com> | 2012-02-14 05:57:06 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2012-02-14 05:57:06 -0500 |
| commit | c6a299ad7159ffcabe201fa79f485c388d837971 (patch) | |
| tree | f4a5cec04ed8783516dadd646e2d0ccf41570fca /docs/tutorials/wiki2/authorization.rst | |
| parent | c595946b859e48ea506dd3155da935eba10a1ed7 (diff) | |
| download | pyramid-c6a299ad7159ffcabe201fa79f485c388d837971.tar.gz pyramid-c6a299ad7159ffcabe201fa79f485c388d837971.tar.bz2 pyramid-c6a299ad7159ffcabe201fa79f485c388d837971.zip | |
- Don't create a ``session`` instance in SQLA Wiki tutorial, use raw
``DBSession`` instead (this is more common in real SQLA apps).
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 56237a1b9..b1d0bf37c 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 - :lines: 90-116 + :lines: 87-113 :linenos: :language: python The ``logout`` view callable will look something like this: .. literalinclude:: src/authorization/tutorial/views.py - :lines: 118-122 + :lines: 115-119 :linenos: :language: python |
