def get_registration_by_user_and_hackathon(self, user_id, hackathon_id):
    return self.db.find_first_object_by(UserHackathonRel, user_id=user_id, hackathon_id=hackathon_id)
def get_registration_by_user_and_hackathon(self, user_id, hackathon_id):
    return self.db.find_first_object_by(UserHackathonRel, user_id=user_id, hackathon_id=hackathon_id)