Re: Drop down not displaying foreign key values

2006-11-13 Thread sorrison
Hi Jeff, You'll need to add a __str__ method to your Status class as since it doesn't have one it is only returning the object. If your familiar with java its like a toString() method class Status(models.Model): Status = models.CharField(maxlength=50) def __str__(self): return sel

Drop down not displaying foreign key values

2006-11-12 Thread jeffhg58
Hi, I am relatively new with Django. With the admin interface I have a main table with foreign key table to supporting files. When I try and add a new record, the drop down field is only displaying the value of Status Object instead of the value of the Status field in the supporting table. Not ex