FormAlchemy / formalchemy

MIT License
81 stars 29 forks source link

Prefix set to 0 fails #4

Closed landreville closed 13 years ago

landreville commented 13 years ago

If the prefix is set to 0 it will not be applied due to line 148 in fields.py: prefix = self.field.parent._prefix or ''

Beanfield commented 13 years ago

I haven't used github before, so I didn't realize it would make another issue if I forked and did a pull request (also under a different username). You can remove this issue since it is a duplicate.