Re: I need to make a column sortable on the admin side

2007-12-30 Thread Karen Tracey
On Dec 28, 2007 9:06 PM, jeffself <[EMAIL PROTECTED]> wrote: > I'm creating an admin interface using the Admin application and I've > renamed a field with the following code: > > def display_classification(self): >return self.class_name > display_classification.short_description = 'Classificat

I need to make a column sortable on the admin side

2007-12-28 Thread jeffself
I'm creating an admin interface using the Admin application and I've renamed a field with the following code: def display_classification(self): return self.class_name display_classification.short_description = 'Classification' However, when I do this, the column heading no longer allows sort