parent
40705e5a34
commit
4044c5c644
@ -0,0 +1,7 @@
|
||||
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")
|
Loading…
Reference in new issue