diff --git a/apps/tournament/forms.py b/apps/tournament/forms.py index 7c700dc..a61f469 100644 --- a/apps/tournament/forms.py +++ b/apps/tournament/forms.py @@ -50,7 +50,7 @@ class OrganizerForm(forms.ModelForm): cleaned_data = super().clean() if TFJMUser.objects.filter(email=cleaned_data["email"], year=os.getenv("TFJM_YEAR")).exists(): - self.add_error("trigram", _("This organizer already exist.")) + self.add_error("email", _("This organizer already exist.")) return cleaned_data