Beispiel #1
0
 def post(self):
     checkedIDs = self.request.get_all('checks')
     for id in checkedIDs:
         keyID = int(id)
         blog = Blog.get_by_id(keyID)
         blog.delete()
     self.redirect('/admin/blogs')
     return
Beispiel #2
0
 def post(self):
     checkedIDs= self.request.get_all('checks')
     for id in checkedIDs:
         keyID = int(id)
         blog = Blog.get_by_id(keyID)
         blog.delete()
     self.redirect('/admin/blogs')
     return