From: Gunnlaugur Thor Briem Date: Wed, 8 Jun 2011 21:26:41 +0000 (+0000) Subject: Fix: use the correct ValidationError class X-Git-Tag: 22.4~32^2~16 X-Git-Url: https://git.mdrn.pl/django-cas-provider.git/commitdiff_plain/42bd8e07d31dd4ef9f1f899342e1acba3ee0b8cf?hp=58ced7c998424be00d9a0aa7db4c9aed14fdd730 Fix: use the correct ValidationError class --- diff --git a/cas_provider/forms.py b/cas_provider/forms.py index 47c2fdc..652f437 100644 --- a/cas_provider/forms.py +++ b/cas_provider/forms.py @@ -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