Re: Problem sorting columns in Admin

2007-04-28 Thread David Hancock
Thanks. The patch with 1576 worked fine. I understand about not wanting to patch current admin--makes perfect sense. Thanks also to Marcelo for identifying the problem and fix. On Apr 28, 7:46 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Sat, 2007-04-28 at 17:49 -0400, Hancock, David (

Re: Problem sorting columns in Admin

2007-04-28 Thread Malcolm Tredinnick
On Sat, 2007-04-28 at 17:49 -0400, Hancock, David (DHANCOCK) wrote: > Django 0.96, OS X 10.4, MySQL 5.1, Python 2.4.2. > > I'm using the automatic admin, and when I click on a column heading, I > get a traceback: > > OperationalError at /admin/trips/leg/ > (1054, "Unknown column 'trips_t

Problem sorting columns in Admin

2007-04-28 Thread Hancock, David (DHANCOCK)
Django 0.96, OS X 10.4, MySQL 5.1, Python 2.4.2. I'm using the automatic admin, and when I click on a column heading, I get a traceback: OperationalError at /admin/trips/leg/ (1054, "Unknown column 'trips_trip.-start_date' in 'order clause'") The leg class has a foreign key to the trip c