Google app engine 使用webapp2_extras.auth创建用户并添加更多字段
我这里有一个简单的webapp2auth+会话示例:(AppEngine+Python2.7) 创建新用户时,我无法向用户实体添加更多属性(例如电子邮件) 有人能帮我吗?有没有一种方法可以通过使用用户属性来实现Google app engine 使用webapp2_extras.auth创建用户并添加更多字段,google-app-engine,google-cloud-datastore,webapp2,Google App Engine,Google Cloud Datastore,Webapp2,我这里有一个简单的webapp2auth+会话示例:(AppEngine+Python2.7) 创建新用户时,我无法向用户实体添加更多属性(例如电子邮件) 有人能帮我吗?有没有一种方法可以通过使用用户属性来实现 谢谢答案是添加参数来创建用户方法,如下所示: user=self.auth.store.user\u model.create\u user(用户名、密码\u raw=password、邮件=email、shoes=“Chile”、ip=“120.12.34.123”)
谢谢答案是添加参数来创建用户方法,如下所示:
user=self.auth.store.user\u model.create\u user(用户名、密码\u raw=password、邮件=email、shoes=“Chile”、ip=“120.12.34.123”)