aboutsummaryrefslogtreecommitdiffstats
path: root/wkhtmltopdf
diff options
context:
space:
mode:
authorCharlie Denton <charlie@meshy.co.uk>2012-02-23 17:35:21 +0000
committerCharlie Denton <charlie@meshy.co.uk>2012-02-23 17:35:21 +0000
commit8a531833baa9ca69d5b15ba82b3f4d0b330b2aa5 (patch)
treed7c3f283a7b48f7bbe6a719469b5e51f2f46499b /wkhtmltopdf
parentea778c6f7b3df11b4fbb106f64cd8f64da99270e (diff)
downloaddjango-wkhtmltopdf-8a531833baa9ca69d5b15ba82b3f4d0b330b2aa5.tar.gz
django-wkhtmltopdf-8a531833baa9ca69d5b15ba82b3f4d0b330b2aa5.tar.bz2
django-wkhtmltopdf-8a531833baa9ca69d5b15ba82b3f4d0b330b2aa5.zip
Make PDFTemplateView use PDFResponse.
Diffstat (limited to 'wkhtmltopdf')
-rw-r--r--wkhtmltopdf/views.py2
1 files changed, 1 insertions, 1 deletions
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':