示例#1
0
文件: admin.py 项目: ignovak/backlog
 def get(self):
   # return
   for item in BacklogItem.all():
     # item.priority *= 10
     # item.priority = int(item.priority)
     if item.status == 'new':
       item.status = 'assigned'
     item.put()
示例#2
0
文件: admin.py 项目: ignovak/backlog
 def get(self, id):
   BacklogItem.get_by_id(int(id)).delete()
示例#3
0
文件: admin.py 项目: ignovak/backlog
 def get(self):
   return
   db.delete(BacklogItem.all(keys_only=True))