Django admin foreign key drop down field list only "test object"
Had the same problem. Adding
def __str__(self):
return self.user
solved the problem.
You have to add __unicode__(self)
or __str__(self)
methods in your models class.
http://docs.djangoproject.com/en/dev/ref/models/instances/?from=olddocs#django.db.models.Model.unicode