diff options
author | Simon Law <simon.law@ecometrica.com> | 2012-07-25 13:33:03 -0400 |
---|---|---|
committer | Simon Law <simon.law@ecometrica.com> | 2012-07-25 13:33:03 -0400 |
commit | 18132dc19a5bbfe094269d4d0152f3586115306f (patch) | |
tree | ee56fa3fb39c2d9377fa33e43b563139ea0ac931 /wkhtmltopdf | |
parent | 22d2721030ccc81dff23093321290b6ffda6d5fd (diff) | |
download | django-wkhtmltopdf-18132dc19a5bbfe094269d4d0152f3586115306f.tar.gz django-wkhtmltopdf-18132dc19a5bbfe094269d4d0152f3586115306f.tar.bz2 django-wkhtmltopdf-18132dc19a5bbfe094269d4d0152f3586115306f.zip |
settings.WKHTMLTOPDF_DEBUG defaults to settings.DEBUG.
Diffstat (limited to 'wkhtmltopdf')
-rw-r--r-- | wkhtmltopdf/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |