diff options
author | Sam | 2013-09-06 17:33:19 -0500 |
---|---|---|
committer | Sam | 2013-09-06 17:33:19 -0500 |
commit | e91c058cd718fea25e38181098b1d0eb2ccf64cd (patch) | |
tree | 88c67ea1894c8b8d4932349a47a306d19155313c /wqflask/wqflask/model.py | |
parent | db38728a7a59347847fb2fc5823a14f0f059f278 (diff) | |
download | genenetwork2-e91c058cd718fea25e38181098b1d0eb2ccf64cd.tar.gz |
Registration form validaiton without js works
Diffstat (limited to 'wqflask/wqflask/model.py')
-rw-r--r-- | wqflask/wqflask/model.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/wqflask/wqflask/model.py b/wqflask/wqflask/model.py index c1b8d060..b3dfe746 100644 --- a/wqflask/wqflask/model.py +++ b/wqflask/wqflask/model.py @@ -47,11 +47,11 @@ class Role(db.Model, RoleMixin): class User(db.Model, UserMixin): id = db.Column(db.Integer(), primary_key=True) - email = db.Column(db.String(255), unique=True) - password = db.Column(db.String(255)) + email = db.Column(db.String(50), unique=True) + password = db.Column(db.String(50)) - name = db.Column(db.Unicode(255)) - organization = db.Column(db.Unicode(255)) + full_name = db.Column(db.Unicode(50)) + organization = db.Column(db.Unicode(50)) active = db.Column(db.Boolean()) confirmed_at = db.Column(db.DateTime()) |