diff options
author | Jonathan Liuti <liuti.john@gmail.com> | 2015-11-25 13:29:18 +0100 |
---|---|---|
committer | Jonathan Liuti <liuti.john@gmail.com> | 2015-12-01 07:50:46 +0100 |
commit | fbf54be1da1cc90490336a57df6678a2f833a5f7 (patch) | |
tree | d8a329fb7c2ce5ae05221dffe411493b4f737e8a /wkhtmltopdf/tests/__init__.py | |
parent | 1a849e356d1c2487337c62768f16ea80883c9bf1 (diff) | |
download | django-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 'wkhtmltopdf/tests/__init__.py')
0 files changed, 0 insertions, 0 deletions