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 sorting.

Is there another way to do this?
--~--~---------~--~----~------------~-------~--~----~
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