aboutsummaryrefslogtreecommitdiffstats
path: root/wkhtmltopdf/models.py
diff options
context:
space:
mode:
authorGeorge Hickman <george@ghickman.co.uk>2011-10-30 19:58:10 +0000
committerGeorge Hickman <george@ghickman.co.uk>2011-10-30 19:58:10 +0000
commit2c6a5f64f060a4ebcb6166068b04202f9f007ec8 (patch)
treeb5d7b105f5a1410d46452962b6560e6755ea9c39 /wkhtmltopdf/models.py
parentab495712c73526b8f775c8e85c437085f1abcb1b (diff)
downloaddjango-wkhtmltopdf-2c6a5f64f060a4ebcb6166068b04202f9f007ec8.tar.gz
django-wkhtmltopdf-2c6a5f64f060a4ebcb6166068b04202f9f007ec8.tar.bz2
django-wkhtmltopdf-2c6a5f64f060a4ebcb6166068b04202f9f007ec8.zip
Refactor the main render method into a class based view
Use a PdfResponse to deal with the headers and response type. Make the margin_* and filename variables instance variables on the view with sane defaults.
Diffstat (limited to 'wkhtmltopdf/models.py')
0 files changed, 0 insertions, 0 deletions