[Checkins] SVN: grok/trunk/doc/reference/components.rst fix error in example code

Kevin Teague kevin at bud.ca
Wed Nov 18 13:05:19 EST 2009


Log message for revision 105837:
  fix error in example code

Changed:
  U   grok/trunk/doc/reference/components.rst

-=-
Modified: grok/trunk/doc/reference/components.rst
===================================================================
--- grok/trunk/doc/reference/components.rst	2009-11-18 16:31:50 UTC (rev 105836)
+++ grok/trunk/doc/reference/components.rst	2009-11-18 18:05:19 UTC (rev 105837)
@@ -1380,7 +1380,7 @@
         grok.name('paint.Artist')
         grok.title('Artist')
         grok.description('An artist owns the paintings that they create.')
-        grok.permissions(ViewPainting, EditPainting, ErasePainting)
+        grok.permissions(ViewPermission, EditPermission, ErasePermission)
         # alternatively, use permission names
         # grok.permissions(
         #    'paint.ViewPainting', 'paint.EditPainting', 'paint.ErasePainting')



More information about the checkins mailing list