aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorJonathan Liuti <liuti.john@gmail.com>2015-11-25 13:29:18 +0100
committerJonathan Liuti <liuti.john@gmail.com>2015-12-01 07:50:46 +0100
commitfbf54be1da1cc90490336a57df6678a2f833a5f7 (patch)
treed8a329fb7c2ce5ae05221dffe411493b4f737e8a /docs
parent1a849e356d1c2487337c62768f16ea80883c9bf1 (diff)
downloaddjango-wkhtmltopdf-fbf54be1da1cc90490336a57df6678a2f833a5f7.tar.gz
django-wkhtmltopdf-fbf54be1da1cc90490336a57df6678a2f833a5f7.tar.bz2
django-wkhtmltopdf-fbf54be1da1cc90490336a57df6678a2f833a5f7.zip
Extracted logic from views - fixed tests.
The logic was coupled with the views which made things difficult to reuse if you wanted to use the pdf generation somehwere else than in a view. With this patch, the logic has been moved to `utils.py` and should be more easy to reuse. Tests have been adapted and made compatible with django > 1.7
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions