Example #1
0
    def POST(self, action):
        if action == "del":
            email = web.input(email=None).email
            model.del_mail(email)

        return render.maillist(model.get_maillist())
Example #2
0
 def GET(self, action):
     emails = model.get_maillist()
     return render.maillist(emails)