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.

Anyway, I seem to be unable to change ordering of FKs relating to User  
object. Any hint?

-- 
We read Knuth so you don't have to. - Tim Peters

Jarek Zgoda, R&D, Redefine
[EMAIL PROTECTED]


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