What steps will reproduce the problem?
1. Create pylons project with admin controller
$ paster create -t pylons_fa issue
2. Create model class as subclass of declarative_base() with column name
`model`
3. Goto http://localhost:5000/admin/Model
What is the expected output? What do you see instead?
AttributeError: Do not set field attributes manually. Use add() or
configure() instead
What version of the product are you using? On what operating system?
python 2.5.2
Pylons 0.9.7
SqlAlchemy 0.5.2
FormAlchemy 1.2
Please provide any additional information below.
It happens when `self.model = model` in `rebind` method,
and self.model from `AttributeField` became to `model.Model`
$ paster shell
>> import formalchemy
>> fs = formalchemy.FieldSet(model.Model)
>> fs.model
<issue.model.Model object at 0x90488ac>
But `fs.model` also must be `AttributeField(model)`...
P.S. Sorry for my bad english.
Original issue reported on code.google.com by tatarkin...@gmail.com on 21 Jul 2009 at 7:46
Original issue reported on code.google.com by
tatarkin...@gmail.com
on 21 Jul 2009 at 7:46Attachments: