*Steps to reproduce the error
Create a model class and a subclass.
Create objects of the classes
Access the parent model in the Pylons admin.
It gets ValueError;
You can only bind to another object of the same
type you originally bound to
It seems ModelRenderer.rebind wants exactly the same type.
I guess it's safe to allow subclasses of the originally
bound one.
Attached patch modifies the type checking.
Original issue reported on code.google.com by tokyo...@gmail.com on 6 Jan 2010 at 12:56
Original issue reported on code.google.com by
tokyo...@gmail.com
on 6 Jan 2010 at 12:56Attachments: