summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki2/authorization.rst
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2016-02-28 13:04:30 -0600
committerMichael Merickel <michael@merickel.org>2016-02-28 13:04:30 -0600
commit44c087008f39dba616ea62eb413f2fa96a5b6fb3 (patch)
treed9bbc2d4e1d7ac69cb7ad8580b0e149594070ec6 /docs/tutorials/wiki2/authorization.rst
parent154d86ff6d5bb2ad28d11d664787ddabc32a3475 (diff)
downloadpyramid-44c087008f39dba616ea62eb413f2fa96a5b6fb3.tar.gz
pyramid-44c087008f39dba616ea62eb413f2fa96a5b6fb3.tar.bz2
pyramid-44c087008f39dba616ea62eb413f2fa96a5b6fb3.zip
fix some nits
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 a2865d8cd..1be961f61 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: