diff options
author | Sam | 2013-08-28 16:21:12 -0500 |
---|---|---|
committer | Sam | 2013-08-28 16:21:12 -0500 |
commit | cd4d985e7142f92e18f8cf316c72073cb3609a85 (patch) | |
tree | 44d65af727d73b874f407805f30500af3da44c41 /wqflask/flask_security/forms.py | |
parent | f2e41174a7e2091e7e835b137c6c7e2874feda04 (diff) | |
download | genenetwork2-cd4d985e7142f92e18f8cf316c72073cb3609a85.tar.gz |
Various changes to track down what happens with security modules
Diffstat (limited to 'wqflask/flask_security/forms.py')
-rw-r--r-- | wqflask/flask_security/forms.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/wqflask/flask_security/forms.py b/wqflask/flask_security/forms.py index e64e1502..4c1dc894 100644 --- a/wqflask/flask_security/forms.py +++ b/wqflask/flask_security/forms.py @@ -89,6 +89,8 @@ def valid_user_email(form, field): class Form(BaseForm): def __init__(self, *args, **kwargs): + print "in Form, args:", args + print "in Form, kwargs:", kwargs if current_app.testing: self.TIME_LIMIT = None super(Form, self).__init__(*args, **kwargs) @@ -148,6 +150,7 @@ class RegisterFormMixin(): def to_dict(form): def is_field_and_user_attr(member): + print "in ifaua:", member return isinstance(member, Field) and \ hasattr(_datastore.user_model, member.name) |