Re: [sqlalchemy] OrderingList weird reordering after session.commit()

2012-08-29 Thread Gilles Lenfant
Many thanks Michael, I'll read the doc more carefully in the future or after a night of brain-off mode :) It works now as expected. And many thanks again to the SQLAlchemy team for such a great essential tool. Kind grateful regards -- Gilles Lenfant Le mercredi 29 août 2012 04:00:34 UTC+2,

[sqlalchemy] OrderingList weird reordering after session.commit()

2012-08-28 Thread Gilles Lenfant
Hi, I extracted the code from a complex application and isolated the issue I'm actually facing in a short sample here : https://gist.github.com/3499127 To summarize : I need a parent entity that has ordered children. I use for this a sqlalchemy.ext.orderinglist.ordering_list that is supposed

Re: [sqlalchemy] OrderingList weird reordering after session.commit()

2012-08-28 Thread Michael Bayer
On Aug 28, 2012, at 11:59 AM, Gilles Lenfant wrote: Hi, I extracted the code from a complex application and isolated the issue I'm actually facing in a short sample here : https://gist.github.com/3499127 To summarize : I need a parent entity that has ordered children. I use for this a