Add support for PDFTK

This commit is contained in:
Raphael Michel
2018-11-26 13:43:06 +01:00
parent ca59237ebf
commit 7eab1982fe
3 changed files with 54 additions and 20 deletions

View File

@@ -57,6 +57,8 @@ else:
debug_fallback = "runserver" in sys.argv
DEBUG = config.getboolean('django', 'debug', fallback=debug_fallback)
PDFTK = config.get('tools', 'pdftk', fallback=None)
db_backend = config.get('database', 'backend', fallback='sqlite3')
if db_backend == 'postgresql_psycopg2':
db_backend = 'postgresql'