changeset 576:6301dd73683f

For Django 1.4, the check_password function moved.
author Brian Neal <bgneal@gmail.com>
date Sat, 05 May 2012 14:18:41 -0500
parents acfa5162d72f
children 4fb264b671d5
files gpp/accounts/tests/view_tests.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gpp/accounts/tests/view_tests.py	Sat May 05 14:06:16 2012 -0500
+++ b/gpp/accounts/tests/view_tests.py	Sat May 05 14:18:41 2012 -0500
@@ -6,7 +6,8 @@
 
 from django.test import TestCase
 from django.core.urlresolvers import reverse
-from django.contrib.auth.models import User, check_password
+from django.contrib.auth.models import User
+from django.contrib.auth.hashers import check_password
 
 from antispam.rate_limit import unblock_ip
 from accounts.models import PendingUser