Пример #1
0
	def post(self, page):
		query = FeedList()
		query.name = page.param('name')
		query.feedurl = page.param('feedurl')
		query.abconf = page.param('abconf')
		query.acategory = page.param('acategory')
		query.start_target = self.param('start_target')
		query.allow_target = self.param('allow_target')
		query.mid_target = self.param('mid_target')
		query.end_target = self.param('end_target')
		query.stop_target = self.param('stop_target')
		query.put()
		return self.get(page)
Пример #2
0
 def post(self, page):
     query = FeedList()
     query.name = page.param('name')
     query.feedurl = page.param('feedurl')
     query.abconf = page.param('abconf')
     query.acategory = page.param('acategory')
     query.start_target = self.param('start_target')
     query.allow_target = self.param('allow_target')
     query.mid_target = self.param('mid_target')
     query.end_target = self.param('end_target')
     query.stop_target = self.param('stop_target')
     query.put()
     return self.get(page)