Hi there, I'm writing my first Django app and trying to get the Admin( list_display ) to display ForeignKey names. Here's how I'm trying to do it:
class Thing(meta.Model): fields = ( meta.CharField('name' maxlength=60, primary_key=True), ) class Entry(meta.Model): def __repr__(self): return self.name fields = ( meta.CharField('name' maxlength=60, primary_key=True), meta.ForeignKey(Thing, to_field='name'), ) admin = meta.Admin( list_display=('name', 'thing_id'), ) Now, when I view the admin page and look at the Entrys it says "No entrys matched your search criteria." Even though there are plenty of Entries and Things. What is the proper way to accomplish this? Thanks, -Jake