Re: Ordering by Foreign Key in Admin

2008-03-02 Thread Malcolm Tredinnick
On Sun, 2008-03-02 at 09:38 -0800, watusee wrote: > Thanks for you quick and helpful reply Malcolm! A few clarifications > if I may. I couldn't quite figure out how to connect what the admin > tool does to seeing queries in connection.queries. I can however see > the the offending query when I ge

Re: Ordering by Foreign Key in Admin

2008-03-02 Thread watusee
Thanks for you quick and helpful reply Malcolm! A few clarifications if I may. I couldn't quite figure out how to connect what the admin tool does to seeing queries in connection.queries. I can however see the the offending query when I get an error in the admin. If I do see a query that is not wh

Re: Ordering by Foreign Key in Admin

2008-03-01 Thread Malcolm Tredinnick
On Sat, 2008-03-01 at 20:02 -0800, watusee wrote: > Using the manual Many to Many model as follows in revision 7188 [...] > # > > I've done a lot of searching but can't quite figure out if this is > something that: > > a) Should work in said revision and

Ordering by Foreign Key in Admin

2008-03-01 Thread watusee
Using the manual Many to Many model as follows in revision 7188 # class Book(models:Model): name = models.CharField(max_length=64) class Admin: pass class Author(models:Model): name = models.CharField(max_length=64) class Admin: pass class B