  from django.contrib.auth.forms import (
      AuthenticationForm, PasswordChangeForm, SetPasswordForm,
  )
  from django.contrib.auth.models import User
  # Needed so model is installed when tests are run independently:
  from django.contrib.auth.tests.custom_user import CustomUser  # NOQA
  from django.contrib.auth.views import login as login_view, redirect_to_login
  from django.contrib.sessions.middleware import SessionMiddleware
  from django.contrib.sites.requests import RequestSite
  from django.core import mail
  from django.core.urlresolvers import NoReverseMatch, reverse, reverse_lazy
 
</s> remove # Needed so model is installed when tests are run independently:
from django.contrib.auth.tests.custom_user import IsActiveTestUser1  # NOQA
 </s> add  </s> remove from django.contrib.auth.tests.custom_user import (
    CustomUser, CustomUserBadRequiredFields, CustomUserNonListRequiredFields,
    CustomUserNonUniqueUsername, CustomUserWithFK, Email,
)
 </s> add from django.contrib.auth.tests.custom_user import CustomUser </s> remove from django.contrib.auth.tests.custom_user import (
    CustomPermissionsUser, CustomUser, ExtensionUser,
)
 </s> add from django.contrib.auth.tests.custom_user import CustomUser, ExtensionUser
  from django.contrib.auth.forms import (
      AuthenticationForm, PasswordChangeForm, SetPasswordForm,
  )
  from django.contrib.auth.models import User


  from django.contrib.auth.views import login as login_view, redirect_to_login
  from django.contrib.sessions.middleware import SessionMiddleware
  from django.contrib.sites.requests import RequestSite
  from django.core import mail
  from django.core.urlresolvers import NoReverseMatch, reverse, reverse_lazy
keep keep keep keep replace replace keep keep keep keep keep
 Moved non-documented auth test models to the new test location. 
tests/auth_tests/test_views.py