Hi Rob, Have you tried using order_with_respect to? http://www.djangoproject.com/documentation/model_api/#order-with-respect-to
I don't know if this will do what you want, as I haven't used it, but from the documentation it sounds pretty close to what you are looking for at least. --James On 9/20/06, Rob Hudson <[EMAIL PROTECTED]> wrote: > > I've got a few models that are foreign key models to my main model > which is called "Page". In the Page model I want those foreign models > editable inline and I want the inline model ordered by a certain key. > So I added an inner class Admin to my foreign key models with the > property "ordering". But this makes the models appear in the admin > which I don't want necessarily. > > Side note: I was using a class Meta ordering, but I don't need ordering > by this foreign key outside of the admin so I moved the ordering to > class Admin. > > Thanks, > Rob > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---