From 8a531833baa9ca69d5b15ba82b3f4d0b330b2aa5 Mon Sep 17 00:00:00 2001 From: Charlie Denton Date: Thu, 23 Feb 2012 17:35:21 +0000 Subject: Make PDFTemplateView use PDFResponse. --- wkhtmltopdf/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wkhtmltopdf/views.py b/wkhtmltopdf/views.py index 1d6e38e..c01a579 100644 --- a/wkhtmltopdf/views.py +++ b/wkhtmltopdf/views.py @@ -30,7 +30,7 @@ class PDFTemplateView(TemplateView): margin_left = 0 margin_right = 0 margin_top = 0 - response = PdfResponse + response = PDFResponse def get(self, request, context_instance=None, *args, **kwargs): if request.GET.get('as', '') == 'html': -- cgit v1.2.3