How can I make Django model __unicode__
method return multiple values to multiple columns?
just add to following to the Class:
def __unicode__(self):
return '%s %s' % (self.value1, self.value2)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With