Re: DB error when sorting by a column in the generated admin

2007-05-08 Thread Alexander Pugachev
Looks like your models "know" about prefixes in table names. Class reseller should work with table "reseller", but it works with table "fuel_reseller". I do not know how you made that (interesting to know), but why not to call models Reseller and FuelRelease and point them in Meta clases that their

DB error when sorting by a column in the generated admin

2007-05-07 Thread Hancock, David (DHANCOCK)
Django 0.96, Python 2.4, Linux, development webserver I have a with clicking certain column headings for sorting in the contrib Admin lists. I think I brought this on myself. The class reseller below used to be simply a CHOICES list, but that got unwieldy, so I created the class and gave fuel_rele