﻿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
20881	Remove contrib.auth.models.AbstractUser arbitrary definition of get_absolute_url	Paul Garner	nobody	"In AbstractUser class there is this code:

{{{
    def get_absolute_url(self):
        return ""/users/%s/"" % urlquote(self.username)
}}}

Firstly... I cannot see where this url pattern is defined - it's not in contrib.auth.urls - possibly this method should just be deleted from the class?

Secondly, if this url is defined somewhere and needed, I think the code should be:

{{{
    def get_absolute_url(self):
        return ""/users/%s/"" % urlquote(self.get_username())
}}}

I am happy to knock up a patch but would like to check I haven't misunderstood first."	Bug	closed	contrib.auth	1.5	Normal	fixed			Ready for checkin	1	0	0	0	1	0
