def activity_detail_list(context, data_dict):
 model = context['model']
 activity_id = _get_or_bust(data_dict, 'id')
 activity_detail_objects = model.ActivityDetail.by_activity_id(activity_id)
 return model_dictize.activity_detail_list_dictize(activity_detail_objects, context)

def activity_detail_list ( context , data_dict ) : model = context [ 'model' ] activity_id = _get_or_bust ( data_dict , 'id' ) activity_detail_objects = model . ActivityDetail . by_activity_id ( activity_id ) return model_dictize . activity_detail_list_dictize ( activity_detail_objects , context )
return an activitys list of activity detail items .