diff options
author | George Hickman <george@ghickman.co.uk> | 2013-09-20 04:38:45 -0700 |
---|---|---|
committer | George Hickman <george@ghickman.co.uk> | 2013-09-20 04:38:45 -0700 |
commit | 486e63e46eff06d0e46cd6b8e04e393f22beb40d (patch) | |
tree | 212fc8be57d811ddf71c650f4e7f59b605781899 /README.rst | |
parent | 9c5d3def72cafdcfd85784c53836421943e83277 (diff) | |
parent | b3dbff596676d983de5ccee6727945c3b3360ca9 (diff) | |
download | django-wkhtmltopdf-486e63e46eff06d0e46cd6b8e04e393f22beb40d.tar.gz django-wkhtmltopdf-486e63e46eff06d0e46cd6b8e04e393f22beb40d.tar.bz2 django-wkhtmltopdf-486e63e46eff06d0e46cd6b8e04e393f22beb40d.zip |
Merge pull request #41 from incuna/fix-tests
Fix tests on Travis
Diffstat (limited to 'README.rst')
-rw-r--r-- | README.rst | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -29,7 +29,7 @@ Run ``pip install django-wkhtmltopdf``. Add ``'wkhtmltopdf'`` to ``INSTALLED_APPS`` in your ``settings.py``. -By default it will execute the first wkhtmltopdf command found on your ``PATH``. +By default it will execute the first ``wkhtmltopdf`` command found on your ``PATH``. If you can't add wkhtmltopdf to your ``PATH``, you can set ``WKHTMLTOPDF_CMD`` to a specific execuatable: @@ -38,6 +38,10 @@ e.g.: in ``settings.py``:: WKHTMLTOPDF_CMD = '/path/to/my/wkhtmltopdf' +or alternatively as env variable:: + + export WKHTMLTOPDF_CMD=/path/to/my/wkhtmltopdf + You may also set ``WKHTMLTOPDF_CMD_OPTIONS`` in ``settings.py`` to a dictionary of default command-line options. |