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
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
2 matches
Mail list logo