ajout de la gestion des paramètres pour halform
This commit is contained in:
parent
37104948ca
commit
fb156af905
|
@ -231,6 +231,7 @@ def check_conf():
|
|||
if not environ.get('HALFORM_SECRET', False):
|
||||
environ['HALFORM_SECRET'] = 'secret'
|
||||
print('Missing HALFORM_SECRET variable from configuration, seting to default')
|
||||
|
||||
if not environ.get('HALFORM_DSN', False):
|
||||
print('Missing HALFORM_DSN variable from configuration')
|
||||
|
||||
|
|
Loading…
Reference in New Issue