def show_title(self, obj):
        if not obj.target:
            return '-- %s --' % ugettext('empty position')
        else:
            return u'%s [%s]' % (obj.target.title, ugettext(obj.target_ct.name),)
dataset/ETHPy150Open ella/ella/ella/positions/newman_admin.py/PositionAdmin.show_title/original