[Zope3-Users] Fields are not inherited
Stephan Richter
srichter at cosmos.phy.tufts.edu
Mon Sep 12 13:47:54 EDT 2005
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
More information about the Zope3-users
mailing list