Fix spelling error in validation

- Legacy-Id: 6709
This commit is contained in:
Ole Laursen 2013-11-15 11:04:12 +00:00
parent 8020650566
commit e6b0ef4323

View file

@ -375,7 +375,7 @@ class UploadForm(forms.Form):
# ensure that the basename is unique
base = splitext(txt.name)[0]
if Document.objects.filter(name=base[:-3]):
raise forms.ValidationError, "This doucment filename already exists: %s" % base[:-3]
raise forms.ValidationError, "This document filename already exists: %s" % base[:-3]
# ensure that rev is 00
if base[-2:] != '00':