summaryrefslogtreecommitdiff
path: root/tests/auth_tests/test_auth_backends.py
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-10-26 18:38:30 -0400
committerTim Graham <timograham@gmail.com>2015-10-27 08:38:12 -0400
commit0b4d11e1751a4e2368f0e4faa121e10ff1f73167 (patch)
tree289f619ae1bde9e626e1a4c0a3bcb286898b7c42 /tests/auth_tests/test_auth_backends.py
parent64a9115bcecf48bce2e7a84d165a6628e2ce607c (diff)
[1.9.x] Fixed #25596 -- Fixed regression in password change view with custom user model.
The reverse() added in 50aa1a790ca66c2a93e0a52e00c53375b269ff49 crashed on a custom user model. Backport of 5acf203db2e9562dbe4073bf85d5043ef3121ea9 from master
Diffstat (limited to 'tests/auth_tests/test_auth_backends.py')
-rw-r--r--tests/auth_tests/test_auth_backends.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auth_tests/test_auth_backends.py b/tests/auth_tests/test_auth_backends.py
index 35b3cf893c..d8b2f43153 100644
--- a/tests/auth_tests/test_auth_backends.py
+++ b/tests/auth_tests/test_auth_backends.py
@@ -292,7 +292,7 @@ class CustomUserModelBackendAuthenticateTest(TestCase):
self.assertEqual(test_user, authenticated_user)
-@override_settings(AUTH_USER_MODEL='auth.UUIDUser')
+@override_settings(AUTH_USER_MODEL='auth_tests.UUIDUser')
class UUIDUserTests(TestCase):
def test_login(self):