def pdf_view(request): selected_parameters = request.POST.getlist('selected_params') response = HttpResponse(mimetype='application/pdf') response['Content-Disposition'] = 'attachment; filename=AquaTestReport.pdf' create_pdf.run(response, request,selected_parameters) return response
def pdf_view(request): response = HttpResponse(mimetype='application/pdf') response['Content-Disposition'] = 'attachment; filename=CommTrackReport.pdf' create_pdf.run(response, request) return response