sprox.mg.validatorselector

validatorselecter Module

this contains the class which allows the ViewConfig to select the appropriate validator for the given field

Classes: Name Description MongoValidatorSelecter Class to aid in the selection of a validator for a mongo document field

Exceptions: None

Functions: None

Copyright (c) 2009 Christopher Perkins Original Version by Christopher Perkins 2009 Released under MIT license.

Classes

class sprox.mg.validatorselector.MingValidatorSelector(*args, **kw)

Bases: sprox._validatorselector.ValidatorSelector

default_validators = {<class 'ming.schema.String'>: <class 'tw.forms.validators.UnicodeString'>, <class 'ming.schema.DateTime'>: <class 'formencode.validators.DateValidator'>, <class 'ming.schema.Int'>: <class 'formencode.validators.Int'>, <class 'ming.schema.Binary'>: None, <class 'ming.schema.Value'>: None, <class 'ming.schema.ObjectId'>: None, <class 'ming.schema.Float'>: <class 'formencode.validators.Number'>}
name_based_validators
select(field)

Discuss

blog comments powered by Disqus

Table Of Contents

Previous topic

sprox.mg.widgetselector

Next topic

General Dojo Usage Information

This Page