On Monday 12 September 2005 13:30, Florian Lindner wrote: > class IContentItem(Interface): > """The ContentItem object works as a base class for all other content > objects.""" > > def __setitem__(name, object): > """Add a IContentItem object.""" > > title = TextLine( > title = u"Name", > description = u"Name that will be part of the URL", > required = True) > > description = TextLine ( > title = u"Description", > description = u"Description of the object.", > required = False)
You got the indentation wrong. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training
_______________________________________________ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users