I got advice from someone in the IRC channel to do this: from django.contrib.sites.models import Site
def __unicode__(self): return self.name Site.__unicode__ = __unicode__ And it worked. On Dec 9, 6:02 pm, bfrederi <brfrederi...@gmail.com> wrote: > In one of my models, I have a foreign key to Django's Site model. When > I view my model in admin, it displays the Site entries by their domain > (in the __unicode__ method). Is there any way to display the name of > the Site instead of the domain in admin? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.