/[pac]/pac/PACDefault/Committee.py
ViewVC logotype

Diff of /pac/PACDefault/Committee.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by tvon, Sat Sep 27 16:52:37 2003 UTC revision 1.7 by tvon, Fri Oct 3 21:45:44 2003 UTC
# Line 1  Line 1 
1  from Products.Archetypes.public import *  from Products.Archetypes.public import *
2  from Products.Archetypes.TemplateMixin import TemplateMixin  from Products.Archetypes.TemplateMixin import TemplateMixin
 from Products.Archetypes.SQLStorage import PostgreSQLStorage  
3    
4  from Products.PACDefault.config import *  from Products.PACDefault.config import *
5    
# Line 8  schema = BaseSchema + Schema(( Line 7  schema = BaseSchema + Schema((
7    
8      StringField('name',      StringField('name',
9          widget=StringWidget(label='Name'),          widget=StringWidget(label='Name'),
         storage=PostgreSQLStorage(),  
10          searchable=1,          searchable=1,
11          ),          ),
12      LinesField('jurisdiction',      LinesField('jurisdiction',
13          widget=LinesWidget(label='Jurisidiction'),          widget=LinesWidget(label='Jurisidiction'),
         storage=PostgreSQLStorage(),  
14          searchable=1,          searchable=1,
15          ),          ),
16      ReferenceField('address',      ReferenceField('address',
17          widget=ReferenceWidget(label='Address'),          widget=ReferenceWidget(label='Address'),
         storage=PostgreSQLStorage(),  
18          ),          ),
19      ReferenceField('members',      ReferenceField('members',
20          widget=ReferenceWidget(label='Members'),          widget=ReferenceWidget(label='Members'),
         storage=PostgreSQLStorage(),  
21          ),          ),
22    
23      )) + TemplateMixin.schema      )) + TemplateMixin.schema

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26