Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/p/r/Products.CMFBibliographyAT-1.1.4.1/Products/CMFBibliographyAT/content/webpublished.py   Products.CMFBibliographyAT(Download)
from Products.CMFBibliographyAT.content.base import BaseEntry, BaseEntrySchema
 
WebpublishedSchema = BaseEntrySchema.copy()
WebpublishedSchema.get('authors').required = 0
 

src/p/r/Products.CMFBibliographyAT-1.1.4.1/Products/CMFBibliographyAT/content/unpublished.py   Products.CMFBibliographyAT(Download)
from Products.CMFBibliographyAT.content.base import BaseEntry, BaseEntrySchema
 
UnpublishedSchema = BaseEntrySchema.copy()
UnpublishedSchema.get('authors').required = 1
# YES!!! note is a required field for UnpublishedReferences!!!