Example #1
0
	def get(self):
		http = decorator.http()
		data = user_info_service.userinfo().get().execute(http=http)
		template = JINJA_ENVIRONMENT.get_template('admin/index.html')
		context = {
			'data': data,
		}
		self.response.write(template.render(context))
 def get(self):
     http = decorator.http()
     data = user_info_service.userinfo().get().execute(http=http)
     users = UserModel.query().fetch()
     self.response.write(json.dumps(users))