@property
    def name(self):
        return u'%s %s' % (self.firstname, self.lastname)\
            if self.firstname and self.lastname else self.login
dataset/ETHPy150Open mardiros/pyshop/pyshop/models.py/User.name/original