html2print
clone your own copy | download snapshot

Snapshots | iceberg

No images in this repository’s iceberg at this time

Inside this repository

settings.py
text/x-python

Download raw (309 bytes)

import os
from django.conf import settings


cmd = 'xvfb-run -- /srv/datadisk02/src/tools.ospkit/poc/headless_ospkit/OSPKitPDF "{}" "{}"'
HTML2PDF_CMD = getattr(settings, 'HTML2PDF_CMD', cmd)
HTML2PDF_DESTINATION_PATH = getattr(settings, 'HTML2PDF_DESTINATION_PATH', os.path.join(settings.MEDIA_ROOT, "pdf"))