diff --git a/hiss/application/models.py b/hiss/application/models.py index 8de4c92e..9df04183 100644 --- a/hiss/application/models.py +++ b/hiss/application/models.py @@ -573,6 +573,6 @@ def is_valid_name(name): f"us at {settings.ORGANIZER_EMAIL}. " ) if not is_valid_name(self.first_name): - raise exceptions.ValidationError("First name can only contain letters.") + raise exceptions.ValidationError("First name can only contain letters, spaces, hyphens, and apostrophes.") if not is_valid_name(self.last_name): - raise exceptions.ValidationError("Last name can only contain letters.") + raise exceptions.ValidationError("Last name can only contain letters, spaces, hyphens, and apostrophes.")