1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Imported custom user classes in tests depending on it

Without those imports, affected test files cannot be run
independently. Refs #21164.
This commit is contained in:
Claude Paroz
2013-10-14 10:11:18 +02:00
parent d9b6fb8f61
commit ef22d512b5
3 changed files with 4 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ from django.contrib.sessions.middleware import SessionMiddleware
from django.contrib.auth import SESSION_KEY, REDIRECT_FIELD_NAME
from django.contrib.auth.forms import (AuthenticationForm, PasswordChangeForm,
SetPasswordForm)
from django.contrib.auth.tests.custom_user import CustomUser
from django.contrib.auth.tests.utils import skipIfCustomUser
from django.contrib.auth.views import login as login_view