﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
13031	User class in the auth module should return lastname and firstname as unicode representation	Raydiation	nobody	"Its quite annoying to get the Loginname as representation of the User. Normally you identify Users by their first and lastname and you if you got users with the exact same name just return the loginname too. The unicode method should do something like this:


{{{
class User(object):
    
    __unicode__(self):
        if completeName.unique(): # checks if the last and first name identify the user
            return ""%s %s"" % (self.last_name, self.first_name)
        else:
            return ""%s %s (%s)"" % (self.last_name, self.first_name, self.username)
}}}
"		closed	contrib.auth	1.1		wontfix	unicode,firstname,lastname		Unreviewed	0	0	0	0	0	0
