summaryrefslogtreecommitdiff
path: root/tests/auth_tests/models/custom_user.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auth_tests/models/custom_user.py')
-rw-r--r--tests/auth_tests/models/custom_user.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/auth_tests/models/custom_user.py b/tests/auth_tests/models/custom_user.py
index fac51064ba..049ae85e5c 100644
--- a/tests/auth_tests/models/custom_user.py
+++ b/tests/auth_tests/models/custom_user.py
@@ -3,7 +3,6 @@ from django.contrib.auth.models import (
PermissionsMixin, UserManager,
)
from django.db import models
-from django.utils.encoding import python_2_unicode_compatible
# The custom user uses email as the unique identifier, and requires
@@ -33,7 +32,6 @@ class CustomUserManager(BaseUserManager):
return u
-@python_2_unicode_compatible
class CustomUser(AbstractBaseUser):
email = models.EmailField(verbose_name='email address', max_length=255, unique=True)
is_active = models.BooleanField(default=True)