1
0
mirror of https://github.com/django/django.git synced 2025-10-27 15:46:10 +00:00

[1.9.x] Fixed #25596 -- Fixed regression in password change view with custom user model.

The reverse() added in 50aa1a790c
crashed on a custom user model.

Backport of 5acf203db2 from master
This commit is contained in:
Tim Graham
2015-10-26 18:38:30 -04:00
parent 64a9115bce
commit 0b4d11e175
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):