On Oct 2, 2:00 am, Jarek Zgoda <[EMAIL PROTECTED]> wrote:
> Wiadomość napisana w dniu 2008-10-02, o godz. 01:03, przez Rock:
>
> > Have you tried setting the order within your model? I think that is
> > the only simple way to tackle this at this time.
>
> >    class Meta:
> >        ordering = ("fruit",)
>
> This will change default ordering across the whole site. To change  
> ordering only in admin app just define ordering in admin class for the  
> model.
>

My understanding is that this does not work for foreign keys. See
Ticket #6585.

It is sure nice to see Bennett's handy dandy code pattern. Tres
formidable.


--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to