|
|
@ -93,6 +93,7 @@ def download(request): |
|
|
|
so = str(round(context['bilanzSOdata']/context['bilanzGESdata']*100)) |
|
|
|
verteilung = "{"+ew+"/Energiewirtschaft,"+ind+"/Industrie," |
|
|
|
verteilung += gb+"/Gebäude,"+vk+"/Verkehr,"+lw+"/Landwirtschaft,"+so+"/Sonstiges"+"}" |
|
|
|
print (verteilung) |
|
|
|
context['verteilung']=verteilung |
|
|
|
|
|
|
|
return render_to_pdf(request, template_name, context, filename='klimapfad.pdf') |
|
|
|