Reputation: 123
What is the best way to do this in Django 1.5?
def __unicode__(self):
return self.username
and I'd like to override it so its:
def __unicode__(self):
return u'%s, %s' % (self.last_name, self.first_name)
Upvotes: 1
Views: 884