summaryrefslogtreecommitdiffstats
path: root/src/authentic2_cut/custom_settings.py
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2019-01-24 18:40:22 (GMT)
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2019-01-29 10:27:51 (GMT)
commita1c8807b20c5c6881b58c335b40e51c0c70bde71 (patch)
tree64385132ac2b6e01aadcacc237ef134b7ddfccb9 /src/authentic2_cut/custom_settings.py
parent2c5563ee91b6503d82514dad7c6d0864f95d7dcb (diff)
downloadauthentic2-cut-a1c8807b20c5c6881b58c335b40e51c0c70bde71.zip
authentic2-cut-a1c8807b20c5c6881b58c335b40e51c0c70bde71.tar.gz
authentic2-cut-a1c8807b20c5c6881b58c335b40e51c0c70bde71.tar.bz2
use a link to present pdf validation request attachments (fixes #29508)
Use sorl-thumbnail to produce thumbnails.
Diffstat (limited to 'src/authentic2_cut/custom_settings.py')
-rw-r--r--src/authentic2_cut/custom_settings.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/authentic2_cut/custom_settings.py b/src/authentic2_cut/custom_settings.py
index 50d7a85..cc789f7 100644
--- a/src/authentic2_cut/custom_settings.py
+++ b/src/authentic2_cut/custom_settings.py
@@ -143,3 +143,5 @@ from authentic2.settings import DJANGO_RBAC_PERMISSIONS_HIERARCHY
DJANGO_RBAC_PERMISSIONS_HIERARCHY['cut_validate'] = ['view', 'search']
DJANGO_RBAC_PERMISSIONS_HIERARCHY['cut_fc'] = ['view', 'search']
+THUMBNAIL_ENGINE = 'sorl.thumbnail.engines.convert_engine.Engine'
+THUMBNAIL_FORCE_OVERWRITE = False