title: Access from django admin list_display, a value from a One-To-One table
body: <p>Given a one-to-one extension a model, such as the Django User model:</p>
  
  <pre><code>class UserProfile(models.Model):
       user        = models.OneToOneField(User, related_name='profile', unique=True)
       avatar      = models.ImageField(_('Avatar'))
       foo         = models.CharField(max_length=100, verbose_name="xxx")
  </code></pre>
  
  <p>How can I display that in the admin?</p>
  
  <pre><code>class UserAdmin(admin.ModelAdmin):
       list_display = ('email', 'profile__foo' &lt;--NOT WORKING )
  </code></pre>
  
  <p>A near match question is <a href="https://stackoverflow.com/questions/14328714/django-admin-how-to-display-value-of-fields-with-list-display-from-two-models-w">Django Admin: How to display value of fields with list_display from two models which are in oneToOne relation?</a></p>