Hi,
I've also asked on the users ml but got no anwser. Maybe you can
undestand the question better?
Hi,
I have a couple of models like:
class Album(models.Model):
title = models.CharField(max_length=255)
class Image(models.Model):
image = models.ImageField(upload_to='images/')
albums = models.ManyToManyField(Album, blank=True)
the schema of the intermediate table is, of course:
`id` int(11) NOT NULL auto_increment,
`image_id` int(11) NOT NULL,
`album_id` int(11) NOT NULL,
Is it possible to order album.image_set with respect to the ID field
of the intermediate table?
I'd like to do this so i can efficiently sort images in the order they
were added to the album.
Thank you!