summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki2/authorization.rst
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2016-02-28 22:30:45 -0800
committerSteve Piercy <web@stevepiercy.com>2016-02-28 22:30:45 -0800
commitae5cccc2bb5e749effc34f624e0abbb149fc389f (patch)
tree610999c8fe6579c0771b9e64809f55fc9c96e9a9 /docs/tutorials/wiki2/authorization.rst
parent3e30040da7c2d5c38b330727b48d9f6b852956d9 (diff)
parent20eac53d0df1687be897677dfc0dd0405271faef (diff)
downloadpyramid-ae5cccc2bb5e749effc34f624e0abbb149fc389f.tar.gz
pyramid-ae5cccc2bb5e749effc34f624e0abbb149fc389f.tar.bz2
pyramid-ae5cccc2bb5e749effc34f624e0abbb149fc389f.zip
Merge remote-tracking branch 'upstream/feature/alchemy-scaffold-update' into feature/alchemy-scaffold-update
Diffstat (limited to 'docs/tutorials/wiki2/authorization.rst')
-rw-r--r--docs/tutorials/wiki2/authorization.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/tutorials/wiki2/authorization.rst b/docs/tutorials/wiki2/authorization.rst
index 3dec21a23..962e2859c 100644
--- a/docs/tutorials/wiki2/authorization.rst
+++ b/docs/tutorials/wiki2/authorization.rst
@@ -162,7 +162,7 @@ including the actual ``Page`` model in the ``page_factory``. The
``edit_page`` views. Similarly the ``NewPage`` will be the context for the
``add_page`` view.
-Open the file ``views/default.py``.
+Open the file ``tutorial/views/default.py``.
First, you can drop a few imports that are no longer necessary:
@@ -214,7 +214,7 @@ in) then an ``HTTPForbidden`` exception will be raised automatically. Thus
we're able to drop those exceptions and checks from the views themselves.
Rather we've defined them in terms of operations on a resource.
-The final ``views/default.py`` should look like the following:
+The final ``tutorial/views/default.py`` should look like the following:
.. literalinclude:: src/authorization/tutorial/views/default.py
:linenos: