| 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 |
|
|
| 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 |