Changeset 14011 for main/waeup.kofa/trunk/src/waeup/kofa/interfaces.py
- Timestamp:
- 3 Jul 2016, 14:09:30 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/interfaces.py
r13886 r14011 273 273 """ 274 274 275 class IRefereeEntry(Interface): 276 """A referee entry. 277 """ 278 name = schema.TextLine( 279 title = _(u'Name'), 280 required = True, 281 description = _(u'Name'), 282 ) 283 email = schema.ASCIILine( 284 title = _(u'Email Address'), 285 default = None, 286 required = True, 287 constraint=validate_email, 288 description = _(u'Email Address'), 289 ) 290 291 class IRefereeEntryField(IObject): 292 """A zope.schema-like field for usage in interfaces. 293 294 Marker interface to distuingish result entries from ordinary 295 object fields. Needed for registration of widgets. 296 """ 297 275 298 class IKofaUtils(Interface): 276 299 """A collection of methods which are subject to customization. … … 792 815 ), 793 816 required = False, 794 default = [],817 defaultFactory=list, 795 818 ) 796 819
Note: See TracChangeset for help on using the changeset viewer.