This works.
from django.contrib.auth import load_backend, login
from django.contrib.auth.models import User
However, this, does not.
from django.contrib.auth import load_backend, login, models.User
Why doesn’t the latter work? Isn’t models a module within the django.contrib.auth package?
Semantically, that would make sense but due to python’s grammar the following is a syntax error. (I agree with python’s choice here.)