コード例 #1
0
ファイル: threads.py プロジェクト: drew/seddit
 def POST(self):
     form = qform()
     if not form.validates(): 
         print config.base.layout(view.ask(form), person)
     else:
         id = threads.new(question=form.d.question, authorid=person.id, roomid=form.d.rooms, summary=form.d.summary)
         web.seeother('/thread/%i' % id)
コード例 #2
0
ファイル: threads.py プロジェクト: drew/seddit
 def POST(self):
     input = web.input()
     threads.new(roomid = input.roomid, question = input.question)