[sqlalchemy] Re: Cascade Deletes

2011-08-09 Thread Stefano Fontanelli
Il 09/08/11 02.42, Aviv Giladi ha scritto: Dear Stefano, First of all, thank you. Allow me to express how much I appreciate your time and assistance - you and your colleagues are making the technology world this much better by being so attentive and helpful! Thank you. Therefore I chose

[sqlalchemy] ordered many-to-many relation

2011-08-09 Thread Wichert Akkerman
I have a model where I have articles and images, with a many-to-many relation between them. Since the order of images for an article is important this relation should be ordered from the article site. My naieve implementation looks like this: article_images = Table('article_image',

Re: [sqlalchemy] ordered many-to-many relation

2011-08-09 Thread Wichert Akkerman
On 08/09/2011 02:38 PM, Wichert Akkerman wrote: I have a model where I have articles and images, with a many-to-many relation between them. Since the order of images for an article is important this relation should be ordered from the article site. My naieve implementation looks like this:

Re: [sqlalchemy] ordered many-to-many relation

2011-08-09 Thread Michael Bayer
On Aug 9, 2011, at 8:38 AM, Wichert Akkerman wrote: I have a model where I have articles and images, with a many-to-many relation between them. Since the order of images for an article is important this relation should be ordered from the article site. My naieve implementation looks like