def _qry():
    return SolutionLoyaltyLottery.all(keys_only=True)
Exemple #2
0
def _qry():
    return SolutionLoyaltyLottery.all(keys_only=True).filter(
        "schedule_loot_time <", now()).filter("schedule_loot_time >", 0)
Exemple #3
0
def put_all_lottery():
    lottery = SolutionLoyaltyLottery.all()
    to_put = list()
    for l in lottery:
        to_put.append(l)
    db.put(to_put)