コード例 #1
0
def record_id_pdf(request, id):
    return record_by_id_pdf_view(
        request, 
        id, 
        model_class=BiomassExpansionFactor,
        record_content_template='biomass_expansion_factors/record_content.html',
        record_title='Biomass Expansion Factor %s' %  id,
        record_url= 'http://globallometree.org/data/biomass-expansion-factor/%s/' % id)
コード例 #2
0
def record_id_pdf(request, id):
    return record_by_id_pdf_view(
        request, 
        id, 
        model_class=RawData,
        record_content_template='raw_data/record_content.html',
        record_title='Raw Data %s' %  id,
        record_url= 'http://globallometree.org/data/raw-data/%s/' % id)
コード例 #3
0
def record_id_pdf(request, id):
    return record_by_id_pdf_view(
        request, 
        id, 
        model_class=WoodDensity, 
        record_content_template='wood_densities/record_content.html',
        record_title='Wood Density %s' %  id,
        record_url= 'http://globallometree.org/data/wood-densities/%s/' % id)
コード例 #4
0
def record_id_pdf(request, id):
    return record_by_id_pdf_view(
        request,
        id,
        model_class=AllometricEquation,
        record_content_template="allometric_equations/record_content.html",
        record_title="Allometric Equation %s" % id,
        record_url="http://globallometree.org/data/allometric-equations/%s/" % id,
    )