diff --git a/fiesta/apps/fiestarequests/forms/editor.py b/fiesta/apps/fiestarequests/forms/editor.py index 56034610..05349760 100644 --- a/fiesta/apps/fiestarequests/forms/editor.py +++ b/fiesta/apps/fiestarequests/forms/editor.py @@ -50,6 +50,11 @@ class Meta: def clean_matcher(self): matcher: User = self.cleaned_data["matcher"] + if not matcher.profile_or_none: + raise ValidationError( + _("This user has not completed their profile. Please ask them to do so before matching.") + ) + if not matcher.profile_or_none.faculty: raise ValidationError(_("This user has not set their faculty. Please ask them to do so or do it yourself."))