changes in model set forein key and and changes leave_info admin views