adoption flow

This commit is contained in:
2026-06-24 15:46:44 -04:00
parent 13b8cd4b5e
commit b644ce5216
5 changed files with 35 additions and 8 deletions

View File

@@ -7,6 +7,6 @@ def validate_cat_name(name):
if len(name) < 4 or len(name) > 24:
return "Your cat's name must be 4-24 characters long."
if not all(c in ALLOWED for c in name):
return "Letters and numbers only."
return "Your cat's name can only have letters and numbers."
if not any(c in string.ascii_letters for c in name):
return "Your cat's name needs at least 1 letter."