4👍
✅
You need to install wkhtmltopdf itself, and specify the path to the binary (either in /usr/bin or /usr/local/bin).
0👍
What worked for me was:
- Download the file from oficial page
- From the file you downloaded extract the /bin/wkhtmltopdf file
- Place it somewhere at your project
-
In settings.py specify the FULL path to the binary file like:
WKHTMLTOPDF_CMD = ‘/home/stefanos/vEnvs/assembla/lib/python2.7/site-packages/wkhtmltopdf/wkhtmltopdf’
- [Django]-Empty result list on django-filter page startup
- [Django]-Django i18n: makemessages only on site level possible?
- [Django]-Writing Django Unit Tests for Views
- [Django]-How to create combobox with django model?
- [Django]-Celery what happen to running tasks when using app.control.purge()?
Source:stackexchange.com