Try to set meta [1] `ordering` setting

[1]: http://docs.djangoproject.com/en/dev/ref/models/options/

On Thu, Nov 6, 2008 at 14:51, MikeKJ <[EMAIL PROTECTED]> wrote:

>
> Got something like this
>
> class A(models.Model):
>    xxxxx
>    class Admin:
>        xxxxx
>
> class B(models.Model):
>    a =models.ForeignKey(A)
>    xxxxxxx
>
> class C(models.Model):
>    a = models.ForeignKey(A)
>    xxxxx
>
> classD(models.Model):
>    a=models.ForeignKey(A)
>    xxxxxx
>
>
> how do I control the ordering of B,C and D please. At the moment it
> appears to be random neither in alpha or in order of the classes.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to