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.
This commit is contained in:
Sebastian Lohff 2020-02-03 00:14:58 +01:00
parent e825685105
commit e049e45698
1 changed files with 0 additions and 2 deletions

View File

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