Пример #1
0
 def POST_optout(self, msg_hash):
     email, sent = opt_out(msg_hash)
     if not email:
         return self.abort404()
     return BoringPage(_("opt out"),
                       content = OptOut(email = email, leave = True,
                                        sent = True,
                                        msg_hash = msg_hash)).render()
Пример #2
0
 def POST_optout(self, msg_hash):
     email, sent = opt_out(msg_hash)
     if not email:
         return self.abort404()
     return BoringPage(_("opt out"),
                       content = OptOut(email = email, leave = True,
                                        sent = True,
                                        msg_hash = msg_hash)).render()