From 18132dc19a5bbfe094269d4d0152f3586115306f Mon Sep 17 00:00:00 2001 From: Simon Law Date: Wed, 25 Jul 2012 13:33:03 -0400 Subject: settings.WKHTMLTOPDF_DEBUG defaults to settings.DEBUG. --- wkhtmltopdf/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wkhtmltopdf/views.py b/wkhtmltopdf/views.py index ad69874..fff98c8 100644 --- a/wkhtmltopdf/views.py +++ b/wkhtmltopdf/views.py @@ -121,7 +121,7 @@ class PDFTemplateResponse(TemplateResponse, PDFResponse): response content, you must either call render(), or set the content explicitly using the value of this property. """ - debug = getattr(settings, 'WKHTMLTOPDF_DEBUG', False) + debug = getattr(settings, 'WKHTMLTOPDF_DEBUG', settings.DEBUG) input_file = header_file = footer_file = None header_filename = footer_filename = None -- cgit v1.2.3