I set up a fastdata.DateController instance like so:

class Root(controllers.Root):
    data = DateController(MySQLObjectClass)

On edits, I'm getting errors saying that the integer fields weren't
getting integers so I did "print data" in DataController.update just
before "obj.set(**data)" and saw that the integer values had not been
coerced.   Maybe that's how it is supposed to work, but I thought
FormEncode would be taking care of it.

I think I'll be writing my own form_widget_class anyhow, but I thought
this was a bit odd.  Ultimately, like so many others, I'm shooting for
some good CRUD functionality.  A bit off topic, for foreign key fields,
I think it would be neat to have a select list to choose the foreign
key from.  O.K., I'm going to work on my form_widget_class.

Randall

Reply via email to