Force admins to set secret_key if debug mode is disabled

This commit also enables debug mode for unit tests.
This commit is contained in:
Noémi Ványi 2020-10-09 15:49:48 +02:00
parent e158eeee4b
commit 116f7a6daa
3 changed files with 7 additions and 1 deletions

View file

@ -0,0 +1,2 @@
import os
os.environ['SEARX_DEBUG'] = '1'