Пример #1
0
 def post(self):
     user = users.get_current_user()
     name = self.request.get("name")
     userid = user.user_id()
     gender = self.request.get("gender")
     userObject = User()
     userObject.userid = userid
     userObject.name = name
     userObject.gender = gender
     userObject.put()
     self.redirect("/home")
Пример #2
0
	def post(self):
		user= users.get_current_user()
		name = self.request.get("name")	
		userid = user.user_id()
		gender = self.request.get("gender")
		userObject = User()
		userObject.userid=userid
		userObject.name = name
		userObject.gender = gender
		userObject.put()
		self.redirect("/home")
Пример #3
0
 def post(self):
     user = users.get_current_user()
     name = self.request.get("name")
     userid = user.user_id()
     gender = self.request.get("gender")
     email = self.request.get("email")
     address = self.request.get("address")
     lat = self.request.get("lat")
     lng = self.request.get("lng")
     userObject = User()
     userObject.userid = userid
     userObject.name = name
     userObject.email = email
     userObject.gender = gender
     userObject.address = address
     userObject.lat = lat
     userObject.lng = lng
     userObject.projects = []
     userObject.put()
     sleep(5)
     self.redirect("/home")
Пример #4
0
	def post(self):
		user= users.get_current_user()
		name = self.request.get("name")	
		userid = user.user_id()
		gender = self.request.get("gender")
		email = self.request.get("email")
		address = self.request.get("address")
		lat = self.request.get("lat")
		lng = self.request.get("lng")
		userObject = User()
		userObject.userid=userid
		userObject.name = name
		userObject.email = email
		userObject.gender = gender
		userObject.address = address
		userObject.lat = lat
		userObject.lng = lng
		userObject.projects = []
		userObject.put()
		sleep(5)
		self.redirect("/home")