So I've got a model resembling: ========== from django.contrib.auth.models import User
class ExtendedUser(models.Model): user = models.OneToOneField(User) class Admin: list_display = ('user',) search_fields = ('user',) ========== The admin has a user column but it is sorted by User.id and therefore not sorted alphabetically. Nor can you search on the string that User.__str__ returns. This makes things very difficult. I think it would be nice if the related object's fields were allowed for list_display, search_fields, etc. This would be allowed for OneToOneFields and ForeignKeys. For example I would like to be able to do something like the following: class Admin: list_display = ('user.last_name',) search_fields = ('user.last_name',) or class Admin: list_display = ('user__last_name',) search_fields = ('user__last_name',) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@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-developers -~----------~----~----~----~------~----~------~--~---