Beispiel #1
0
 def get(self):
     e_models = EmailModel.find({'deleted': False})
     active_traffic_time = DateTime.get_day(6)
     offers = Offers.query(active_traffic_time)
     self.render(e_models=e_models, offers=offers)
Beispiel #2
0
 def get(self):
     active_traffic_time = DateTime.get_day(6)
     offers = Offers.query(active_traffic_time)
     self.finish(dict(offers=offers))