Remove broken check from QSO form

The check disallowed having a QSO with any callsign that is also a
reference. Obviously the user should also be able to log this kind
of QSO, even if it might not make sense. We don't judge.
这个提交包含在:
Sebastian Lohff 2020-02-03 00:14:58 +01:00
父节点 e825685105
当前提交 e049e45698
共有 1 个文件被更改,包括 0 次插入2 次删除

查看文件

@ -93,8 +93,6 @@ class QSOForm(forms.ModelForm):
def clean_call(self):
data = self.cleaned_data["call"].upper().strip()
if Reference.objects.filter(name=data).count() > 0:
raise forms.ValidationError("Reference already exists")
try:
CallLogValidator()(data)