Re: [sqlalchemy] OrderingList not updating position as expected

2013-08-23 Thread Michael Bayer
On Aug 23, 2013, at 6:07 PM, Kyle Marek-Spartz wrote: > Hello, > > I've ran into a potential issue with OrderingList. When we are creating a new > child, we'd like to be able to simply specify child.parent (or > child.parent_id), and have child.position be updated appropriately when > commit

[sqlalchemy] OrderingList not updating position as expected

2013-08-23 Thread Kyle Marek-Spartz
Hello, I've ran into a potential issue with OrderingList. When we are creating a new child, we'd like to be able to simply specify child.parent (or child.parent_id), and have child.position be updated appropriately when committed. This saves querying for the parent object, and then appending t