[Checkins] SVN: bluebream/website/docs/v1.0/tutorial2.rst Locations moved: ItemTypePrecondition, ContainerTypesConstraint

Baiju M baiju.m.mail at gmail.com
Mon May 3 23:35:15 EDT 2010


Log message for revision 111908:
  Locations moved: ItemTypePrecondition, ContainerTypesConstraint
  

Changed:
  U   bluebream/website/docs/v1.0/tutorial2.rst

-=-
Modified: bluebream/website/docs/v1.0/tutorial2.rst
===================================================================
--- bluebream/website/docs/v1.0/tutorial2.rst	2010-05-04 02:30:00 UTC (rev 111907)
+++ bluebream/website/docs/v1.0/tutorial2.rst	2010-05-04 03:35:14 UTC (rev 111908)
@@ -107,7 +107,7 @@
 is used by it.  Add the following method definition to the
 ``ICollector`` class::
 
-    from zope.app.container.constraints import ItemTypePrecondition
+    from zope.container.constraints import ItemTypePrecondition
 
     def __setitem__(name, object):
         """Add an ICollector object."""
@@ -124,7 +124,7 @@
 
   from zope.schema import Field
   from zope.container.interfaces import IContained
-  from zope.app.container.constraints import ContainerTypesConstraint
+  from zope.container.constraints import ContainerTypesConstraint
 
   class ITicketContained(IContained):
       """Interface that specifies the type of objects that can contain



More information about the checkins mailing list