Re: [Repoze-dev] Deform/Colander: allow empty non-String field in schema?

2010-05-27 Thread Chris Shenton
On May 27, 2010, at 3:24 AM, Chris McDonough wrote: This is an area that I'm not 100% confident about yet, so I'm glad you're stressing it a bit. FTR, this definitely won't work: SchemaNode(Integer(), required=False, allow_empty=True) Because a SchemaNode does nothing with either

[Repoze-dev] Deform/Colander: allow empty non-String field in schema?

2010-05-26 Thread Chris Shenton
We're doing a BFG app with a MongdoDB backend, and the Deform stuff seems perfect for us, really enjoying using it so far. But I can't figure out how to make a field in a schema optional if it's not a String. (I've done this in Django model schemas where I can use the flag null=True and

Re: [Repoze-dev] BFG 0.9.1 / chameleon: render() takes exactly 1 non-keyword argument

2009-06-09 Thread Chris Shenton
Chris McDonough chr...@plope.com writes: Hmm. Are you sure? Ala at the top level of your package: find . -name *.cache|xargs rm -f find . -name *.pt.py|xargs rm -f Yeah, just did the build out on a different box, did finds to make sure, did find...rm anyway. Same. I've gotten it to work

[Repoze-dev] BFG 0.9.1 / chameleon: render() takes exactly 1 non-keyword argument

2009-06-08 Thread Chris Shenton
I've been plugging along with a routes and SQL based app, with BFG 0.8.0. I just changed my buildout.cfg to get BFG 0.9.1 -- and any new versions of other packages -- but it's now throwing exceptions when trying to render. I've removed any *.py, *.pyc and *.cache files from my templates/ dir, but

Re: [Repoze-dev] unifying url dispatch and traversal

2009-06-07 Thread Chris Shenton
Chris McDonough chr...@plope.com writes: Anyway, I don't really mind changing the urldispatch stuff radically at this point; I'll fix the docs and our code and help anyone who needs it change their stuff. If I can make it bwcompat, great, but I'd rather break it now than have to live