django-extensions/django-extensions — pull request #470 by raphaelcruzeiro (2014-02-19 01:44:43+00:00)
Title: Fixes #461 by checking for the USERNAME_FIELD attribute

Fixes #461 by checking for the USERNAME_FIELD attribute on the User model and defaulting to 'username' if the attribute is not defined or has a None value.