From 9cac6bd8bcdb26e00d45884e0fec3833ef777e7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=AD=C3=B0ir=20Valberg=20Gu=C3=B0mundsson?= Date: Wed, 18 Aug 2021 15:15:26 +0200 Subject: [PATCH] Try passing enable-local-file-access --- src/bornhack/settings.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/bornhack/settings.py b/src/bornhack/settings.py index 9c79a82c..5da40b9d 100644 --- a/src/bornhack/settings.py +++ b/src/bornhack/settings.py @@ -204,3 +204,8 @@ ACCOUNT_SIGNUP_FORM_CLASS = "bornhack.forms.AllAuthSignupCaptchaForm" # django 3.2 https://docs.djangoproject.com/en/3.2/releases/3.2/#customizing-type-of-auto-created-primary-keys DEFAULT_AUTO_FIELD = "django.db.models.AutoField" + +WKHTMLTOPDF_CMD_OPTIONS = { + "quiet": True, + "enable-local-file-access": True, +}