Perfect, thank you! On 13/04/07, Niels <[EMAIL PROTECTED]> wrote: > > > class SuitetoTest(models.Model): > runorder = models.IntegerField(core=True) > test = models.ForeignKey(Test) > suite = models.ForeignKey(Suite, edit_inline=models.TABULAR, > num_in_admin=10) > class Meta: > ordering = ("runorder",) > > On Apr 13, 12:17 pm, "Ryan Alexander" <[EMAIL PROTECTED]> wrote: > > So I have the following bit of model code: > > > > class SuitetoTest(models.Model): > > runorder = models.IntegerField(core=True) > > test = models.ForeignKey(Test) > > suite = models.ForeignKey(Suite, edit_inline=models.TABULAR, > > num_in_admin=10) > > > > So the SuitetoTest model shows up in the Suite admin page. > > > > How could I modify the code so that the SuitetoTests that show up on > > the admin page for Suites show up ordered by the value in runorder? > > > > >
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [EMAIL PROTECTED] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---