def get(self): memcache.flush_all() db.delete(SessionModel.all(keys_only=True).fetch(1000))
def get(self): num_before = SessionModel.all().count() delete_expired_sessions() num_after = SessionModel.all().count() self.response.out.write('%d,%d' % (num_before, num_after))