1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

Fixed #25596 -- Fixed regression in password change view with custom user model.

The reverse() added in 50aa1a790c
crashed on a custom user model.
This commit is contained in:
Tim Graham
2015-10-26 18:38:30 -04:00
parent 1f07da3e29
commit 5acf203db2
4 changed files with 7 additions and 9 deletions

View File

@@ -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):