Esempio n. 1
0
 def reject_request(self, user, block_title):
     gDefier_model.del_request_challenge(self, user, block_title)    
     self.redirect('/gDefier/block?title=' + block_title)
Esempio n. 2
0
 def accept_request(self, user, block_title):  
     gDefier_model.del_request_challenge(self, user, block_title)
     # Create a challenge
     gDefier_model.create_defy(self, user, block_title)
     self.redirect('/gDefier/block?title=' + block_title)