From a6cd3dab239920ba14629083d8f36b56141ca0dc Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 12 Nov 2010 20:07:28 -0500 Subject: fix tutorial to not update the context with the content of request.matchdict, unnecessary and breaks now that request has a matchdict of None --- docs/tutorials/wiki2/src/authorization/tutorial/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/tutorials/wiki2/src/authorization') diff --git a/docs/tutorials/wiki2/src/authorization/tutorial/models.py b/docs/tutorials/wiki2/src/authorization/tutorial/models.py index c914163bf..7580220b6 100644 --- a/docs/tutorials/wiki2/src/authorization/tutorial/models.py +++ b/docs/tutorials/wiki2/src/authorization/tutorial/models.py @@ -48,4 +48,4 @@ class RootFactory(object): __acl__ = [ (Allow, Everyone, 'view'), (Allow, 'group:editors', 'edit') ] def __init__(self, request): - self.__dict__.update(request.matchdict) + pass -- cgit v1.2.3