Try passing enable-local-file-access

This commit is contained in:
Víðir Valberg Guðmundsson 2021-08-18 15:15:26 +02:00
parent a73035202f
commit 9cac6bd8bc

View file

@ -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 # 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" DEFAULT_AUTO_FIELD = "django.db.models.AutoField"
WKHTMLTOPDF_CMD_OPTIONS = {
"quiet": True,
"enable-local-file-access": True,
}