summaryrefslogtreecommitdiff
path: root/tests/auth_tests/models/with_integer_username.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auth_tests/models/with_integer_username.py')
-rw-r--r--tests/auth_tests/models/with_integer_username.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auth_tests/models/with_integer_username.py b/tests/auth_tests/models/with_integer_username.py
index fc3728d798..8d99bee13a 100644
--- a/tests/auth_tests/models/with_integer_username.py
+++ b/tests/auth_tests/models/with_integer_username.py
@@ -17,7 +17,7 @@ class IntegerUsernameUser(AbstractBaseUser):
username = models.IntegerField()
password = models.CharField(max_length=255)
- USERNAME_FIELD = 'username'
- REQUIRED_FIELDS = ['username', 'password']
+ USERNAME_FIELD = "username"
+ REQUIRED_FIELDS = ["username", "password"]
objects = IntegerUsernameUserManager()