Re: Deform/Colander Schema declaration with built-in validator

2011-03-24 Thread Chris McDonough
On Thu, 2011-03-24 at 12:41 -0700, oO wrote: > Is it possible to declare a Mapping Schema with a built-in validator > attached to it? > > I'm creating a form has uses Geo coordinates ( lat, lon ) and I'm > looking for the best way to implement these. > Right now, I have the following: > > class G

Deform/Colander Schema declaration with built-in validator

2011-03-24 Thread oO
Is it possible to declare a Mapping Schema with a built-in validator attached to it? I'm creating a form has uses Geo coordinates ( lat, lon ) and I'm looking for the best way to implement these. Right now, I have the following: class GeoCoordSchema(colander.MappingSchema): lat = coland