Django Admin: How to display value of fields with list_display from two models which are in oneToOne relation?
问题 I belive that the answer to my problem is simple, but I can't find it anywhere. Here is my predicament. I have two models: Member and MemberDetail, which are in oneToOne relation like this: class Member(models.Model): ID = models.AutoField(primary_key=True) FIRST_NAME = models.CharField('First name', max_length=50) LAST_NAME = models.CharField('Last name', max_length=50) def __unicode__(self): return u'%s %s' % (self.FIRST_NAME, self.LAST_NAME) class MemberDetail(models.Model): member =