Allow to turn off CSP reporting

This commit is contained in:
Raphael Michel
2020-06-15 15:11:28 +02:00
parent c992de341f
commit d975a68641
3 changed files with 5 additions and 1 deletions

View File

@@ -58,6 +58,7 @@ else:
debug_fallback = "runserver" in sys.argv
DEBUG = config.getboolean('django', 'debug', fallback=debug_fallback)
LOG_CSP = config.getboolean('pretix', 'csp_log', fallback=True)
PDFTK = config.get('tools', 'pdftk', fallback=None)