Re: DateConverter validator can't parse str(datetime.date) objects
Ian Bicking <[email protected]> Sun, 07 Sep 2008 12:13:52 -0500
| Newsgroups | gmane.comp.python.formencode |
|---|---|
| Message-ID | <[email protected]> |
Matthew Wilson wrote: > Thanks for the quick response. I think maybe the problem is that my > web framework (turbogears 1.0) doesn't seem to use from_python to > serialize the data back out. Instead, it seems to use a str. > > I'll start looking around there. Note that the schema also has a from_python method, which applies all the validators on a dictionary of incoming data. -- Ian Bicking : [email protected] : http://blog.ianbicking.org ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/