m2m ordering question

0 views
Skip to first unread message

patrickk

unread,
Nov 5, 2007, 7:21:03 AM11/5/07
to Django users
i´m having a model for a movie and I´d like to assign some stars using
an m2m-relationship.
using the admin-interface, I´m assigning stars in a specific order
(the most important star first and so on). in the database, the stars
are saved in the "right" order - the first one has the lowest ID and
so forth.

BUT: when I save the movie and I´m editing it again, the order of the
stars is different to what I saved (it´s not the order from the
database).
is it possible to get the stars in the right order or do I have to
change my models and use edit_inline with a position-field?

thanks,
patrick

Reply all
Reply to author
Forward
0 new messages