You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wownero-funding-system/wowfunding/validation.py

8 lines
185 B

def val_username(value):
if len(value) >= 20:
raise Exception("username too long")
def val_email(value):
if len(value) >= 50:
raise Exception("email too long")