Skip to content

Commit de0a6af

Browse files
committed
Fixed #193 -- Corrected a bad reference to ValidationError. Thanks Jarek Zgoda.
git-svn-id: https://django-tagging.googlecode.com/svn/trunk@155 83e7428b-ec2a-0410-86f2-bf466d0e5e72
1 parent 248607c commit de0a6af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tagging/forms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def clean_name(self):
1616
value = self.cleaned_data['name']
1717
tag_names = parse_tag_input(value)
1818
if len(tag_names) > 1:
19-
raise ValidationError(_('Multiple tags were given.'))
19+
raise forms.ValidationError(_('Multiple tags were given.'))
2020
elif len(tag_names[0]) > settings.MAX_TAG_LENGTH:
2121
raise forms.ValidationError(
2222
_('A tag may be no more than %s characters long.') %

0 commit comments

Comments
 (0)