django/django — pull request #427 by gavinwahl (2012-10-05 19:16:14+00:00)
Title: Don't assume USERNAME_FIELD == 'user' in UserAdmin.

Never assume that a user object has a field named `username`, use
`USERNAME_FIELD` instead.

fixes https://code.djangoproject.com/ticket/19077