Back to index

plone3  3.1.7
Classes | Variables
Archetypes.examples.Fact Namespace Reference

Classes

class  Fact

Variables

tuple schema

Variable Documentation

Initial value:
00001 BaseSchema+Schema((
00002     TextField('quote',
00003               searchable=1,
00004               required=1,
00005               ),
00006 
00007     LinesField('sources',
00008                widget=LinesWidget,
00009                ),
00010 
00011     TextField('footnote',
00012               required=1,
00013               widget=TextAreaWidget,
00014               ),
00015 
00016     DateTimeField('fact_date',
00017                   default=DateTime(),
00018                   widget=CalendarWidget(label="Date"),
00019                   ),
00020 
00021     StringField('url',
00022                 widget=StringWidget(description="A URL citing the fact",
00023                                   label="URL"),
00024                 validators=('isURL',),
00025                 ),
00026     ))

Definition at line 5 of file Fact.py.