コード例 #1
0
ファイル: hjbbs.py プロジェクト: forestbaker/jqian
    def POST(self, action):
        if action == "del":
            email = web.input(email=None).email
            model.del_mail(email)

        return render.maillist(model.get_maillist())
コード例 #2
0
ファイル: hjbbs.py プロジェクト: forestbaker/jqian
 def GET(self, action):
     emails = model.get_maillist()
     return render.maillist(emails)