def __before__(self, **kwargs): c.proposal_types = ProposalType.find_all() c.target_audiences = TargetAudience.find_all() c.accommodation_assistance_types = AccommodationAssistanceType.find_all() c.travel_assistance_types = TravelAssistanceType.find_all() c.proposal_event_targets = ProposalEventTarget.find_all() log.debug("event target list: %s", c.proposal_event_targets)
def _to_python(self, value, state): return AccommodationAssistanceType.find_by_id(value)
def __before__(self, **kwargs): c.proposal_types = ProposalType.find_all() c.target_audiences = TargetAudience.find_all() c.accommodation_assistance_types = AccommodationAssistanceType.find_all( ) c.travel_assistance_types = TravelAssistanceType.find_all()
def __before__(self, **kwargs): c.proposal_types = ProposalType.find_all() c.target_audiences = TargetAudience.find_all() c.accommodation_assistance_types = AccommodationAssistanceType.find_all() c.travel_assistance_types = TravelAssistanceType.find_all()