def get_absolute_url(self):
    return '/profiles/%s/' % self.id

def profile_link(self):
    return '<a href="%s">%s</a>' % (self.get_absolute_url(), self.username)
profile_link.allow_tags = True
Django-admin : How to display link to object info page instead of edit form , in records change list?