Remove restriction with duplicated titles. See #1449

- Legacy-Id: 8108
This commit is contained in:
Emilio A. Sánchez López 2014-07-18 17:12:17 +00:00
parent c414e14597
commit d4831d4e3a

View file

@ -292,8 +292,6 @@ class LiaisonForm(forms.Form):
exclude_filter = {'pk': self.instance.pk}
else:
exclude_filter = {}
if LiaisonStatement.objects.exclude(**exclude_filter).filter(title__iexact=title).exists():
raise forms.ValidationError('A liaison statement with the same title has previously been submitted.')
return title