summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki2/authorization.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/tutorials/wiki2/authorization.rst')
-rw-r--r--docs/tutorials/wiki2/authorization.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorials/wiki2/authorization.rst b/docs/tutorials/wiki2/authorization.rst
index aaf0f0184..b7e20a95b 100644
--- a/docs/tutorials/wiki2/authorization.rst
+++ b/docs/tutorials/wiki2/authorization.rst
@@ -49,7 +49,7 @@ inside our ``models.py`` file. Add the following statements to your
__acl__ = [ (Allow, Everyone, 'view'),
(Allow, 'group:editors', 'edit') ]
def __init__(self, request):
- self.__dict__.update(request.matchdict)
+ pass
The ``RootFactory`` class we've just added will be used by
:app:`Pyramid` to construct a ``context`` object. The context is