Fix: use the correct ValidationError class
authorGunnlaugur Thor Briem <gunnlaugur@gmail.com>
Wed, 8 Jun 2011 21:26:41 +0000 (21:26 +0000)
committerGunnlaugur Thor Briem <gunnlaugur@gmail.com>
Wed, 8 Jun 2011 21:26:41 +0000 (21:26 +0000)
cas_provider/forms.py

index 47c2fdc..652f437 100644 (file)
@@ -1,7 +1,7 @@
 from django import forms
 from django.conf import settings
 from django.contrib.auth import authenticate
-from django.core.exceptions import ValidationError
+from django.forms import ValidationError
 from django.utils.translation import ugettext_lazy as _
 from models import LoginTicket
 import datetime