aboutsummaryrefslogtreecommitdiff
path: root/wqflask/flask_security
diff options
context:
space:
mode:
authorSam2013-09-04 15:31:22 -0500
committerSam2013-09-04 15:31:22 -0500
commit8d61798c41f9ec77dea3231cbcf0957c7cadc533 (patch)
tree1092463d4e09698fd90931c090f3c61487133e70 /wqflask/flask_security
parentcd4d985e7142f92e18f8cf316c72073cb3609a85 (diff)
downloadgenenetwork2-8d61798c41f9ec77dea3231cbcf0957c7cadc533.tar.gz
Trying to trace through files
Diffstat (limited to 'wqflask/flask_security')
-rw-r--r--wqflask/flask_security/forms.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/wqflask/flask_security/forms.py b/wqflask/flask_security/forms.py
index 4c1dc894..54677e77 100644
--- a/wqflask/flask_security/forms.py
+++ b/wqflask/flask_security/forms.py
@@ -89,6 +89,10 @@ def valid_user_email(form, field):
class Form(BaseForm):
def __init__(self, *args, **kwargs):
+ #print "importing tracer"
+ #from wqflask import tracer
+ #tracer.turn_on()
+ #print "imported tracer"
print "in Form, args:", args
print "in Form, kwargs:", kwargs
if current_app.testing:
@@ -154,7 +158,9 @@ class RegisterFormMixin():
return isinstance(member, Field) and \
hasattr(_datastore.user_model, member.name)
+ print("green:", vars(form))
fields = inspect.getmembers(form, is_field_and_user_attr)
+ print("fields:" ,vars(form))
return dict((key, value.data) for key, value in fields)