Need django.contrib.auth.models.User's get_username method

Sometimes it throws an exception.
With a grep I see it's needed in admin interface too.