Re: Fwd: Default ManyToMany ordering

2009-04-13 Thread Andy Lei
hmm, i think that governs how, for example, Persons are ordered in the Person's admin list. what I wanted to do was change the ordering of Persons that show up in the ManyToMany field in the Group admin page. also, is there any general way to affect the default ordering of related items on ManyT

Re: Fwd: Default ManyToMany ordering

2009-04-12 Thread R. Gorman
If it's for the admin interface the admin option ordering (http:// docs.djangoproject.com/en/dev/ref/contrib/admin/#ordering) might do the trick. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. T

Fwd: Default ManyToMany ordering

2009-04-12 Thread Andy Lei
hi guys, let's say i have a ManyToMany relationship with an intermediary model; something like this: class Person(models.Model): name = models.CharField(max_length=128) class Group(models.Model): name = models.CharField(max_length=128) members = models.ManyToManyField(Person, through='