'username': 'http://axschema.org/namePerson/friendly',
'email': 'http://axschema.org/contact/email',
'web': 'http://axschema.org/contact/web/default',
- 'firstname': 'http://axschema.org/namePerson/first',
- 'lastname': 'http://axschema.org/namePerson/last',
+ #'firstname': 'http://axschema.org/namePerson/first',
+ #'lastname': 'http://axschema.org/namePerson/last',
'birthdate': 'http://axschema.org/birthDate',
}
(k.encode('utf8'), v.encode('utf8')) for k, v in request.GET.items()
])
- for i in query_dict.items():
- print "%s : %s" % i
+ #for i in query_dict.items():
+ #print "%s : %s" % i
url = get_url_host(request) + request.path
openid_response = consumer.complete(query_dict, url)
for n, s in axargs.items() if s in ax_schema2data_type
])
- available_data = dict([
- (t, axargs["value.%s.1" % s]) for t, s in available_types.items()
- ])
+ #available_data = dict([
+ # (t, axargs["value.%s.1" % s]) for t, s in available_types.items()
+ #])
- print available_data
+ #print available_data
#email = ax.getExtensionArgs()['value.ext0.1']
}
except Exception, e:
- import sys, traceback
- traceback.print_exc(file=sys.stdout)
+ pass
+ #import sys, traceback
+ #traceback.print_exc(file=sys.stdout)
return request.GET['openid.identity']
elif openid_response.status == CANCEL: