1👍
the unicode method should return string
def __unicode__(self):
return "%s, %s" % (self.name, self.hometown)
Source:stackexchange.com
1👍
the unicode method should return string
def __unicode__(self):
return "%s, %s" % (self.name, self.hometown)