diff gpp/accounts/tests/view_tests.py @ 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 6a265b5768ca
children
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