2008-01-11

interfaces.py

  2008-01-11 19:20

...

"""Note interface

Interfaces for the Zope 3 based Note package

$Id: interfaces.py 13474 2007-12-03 14:27:43Z cray $
"""
from zope.interface import Interface
from zope.schema import Text, TextLine, Datetime, Field
from datetime import datetime

class INotebook(Interface):
    """A note object."""

    title = TextLine(
        title=u"Title/Subject",
        description=u"Title and/or subject of the message.",
        default=u"",
        required=True)

    body = Text(
        title=u"Note Body",
        description=u"This is the actual note. Type whatever you wish.",
        default=u"",
        required=False)
        
Официальный сайт Zope3 Московская группа изучения реактивного движения The Dream Bot Site noooxml