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

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

src/e/e/eea.relations-6.7/eea/relations/validators/__init__.py   eea.relations(Download)
def register():
    """ Register validators
    """
    validation.register(ContentType('eea.relations.contenttype'))
    validation.register(Required('eea.relations.required'))

src/e/e/eea.daviz-8.4/eea/daviz/content/__init__.py   eea.daviz(Download)
from eea.daviz.content.validators import CSVFileValidator
from eea.daviz.content.validators import ExternalDataValidator
validation.register(CSVFileValidator('csvfile'))
validation.register(ExternalDataValidator('externalURL'))
 

src/s/l/slc.dublettefinder-0.3.1/slc/dublettefinder/validators.py   slc.dublettefinder(Download)
        return 1
 
validation.register(isUniqueObjectName('isUniqueObjectName', title='', description=''))
 
 
        return 1
 
validation.register(isUniqueFileName('isUniqueFileName', title='', description=''))
 
 
 
 
validation.register(isUniqueFileSize('isUniqueFileSize', title='', description=''))
 
 

src/p/r/Products.ATContentTypes-2.2.1/Products/ATContentTypes/lib/validators.py   Products.ATContentTypes(Download)
for validator in validatorList:
    # register the validators
    validation.register(validator)
 
 

src/p/r/Products.ATContentTypes-2.2.1/Products/ATContentTypes/content/newsitem.py   Products.ATContentTypes(Download)
from Products.validation import V_REQUIRED
 
validation.register(MaxSizeValidator('checkNewsImageMaxSize',
                                     maxsize=zconf.ATNewsItem.max_file_size))
 

src/p/r/Products.ATContentTypes-2.2.1/Products/ATContentTypes/content/image.py   Products.ATContentTypes(Download)
from Products.validation import V_REQUIRED
 
validation.register(MaxSizeValidator('checkImageMaxSize',
                                     maxsize=zconf.ATImage.max_file_size))
 

src/p/r/Products.ATContentTypes-2.2.1/Products/ATContentTypes/content/file.py   Products.ATContentTypes(Download)
LOG = logging.getLogger('ATCT')
 
validation.register(MaxSizeValidator('checkFileMaxSize',
                                     maxsize=zconf.ATFile.max_file_size))
 

src/f/t/ftw.billboard-1.2.4/ftw/billboard/content/billboard_category.py   ftw.billboard(Download)
 
 
validation.register(MaxSizeValidator('checkImageMaxSize',
                                     maxsize=zconf.ATImage.max_file_size))
 

src/f/t/ftw.billboard-1.2.4/ftw/billboard/content/billboardad.py   ftw.billboard(Download)
 
 
validation.register(validators.MailValidator('isEmail'))
 
 

src/m/y/my315ok.watermarkImage-1.0/my315ok/watermarkImage/content/watermarkimage.py   my315ok.watermarkImage(Download)
from Products.validation import V_REQUIRED
 
validation.register(MaxSizeValidator('checkImageMaxSize',
                                     maxsize=zconf.ATImage.max_file_size))
 

  1 | 2 | 3  Next