def get_hackathon_registration(self, num=None):
    registers = self.db.find_all_objects_order_by(UserHackathonRel, num, UserHackathonRel.create_time.desc(), hackathon_id=g.hackathon.id)
    return map((lambda x: self.get_registration_with_profile(x)), registers)
def get_hackathon_registration(self, num=None):
    registers = self.db.find_all_objects_order_by(UserHackathonRel, num, UserHackathonRel.create_time.desc(), hackathon_id=g.hackathon.id)
    return map((lambda x: self.get_registration_with_profile(x)), registers)