Add DEBUG key to supann.conf
This commit is contained in:
parent
ac3bfeb330
commit
8796d961f0
|
@ -133,3 +133,8 @@ AUTHENTICATION_BACKENDS = ('authentic2.backends.LDAPBackend',)
|
|||
|
||||
# bypass authentic2 warning: "DEFAULT_FROM_EMAIL must be customized"
|
||||
DEFAULT_FROM_EMAIL = 'root@localhost'
|
||||
|
||||
if os.environ.get('DEBUG') == '1':
|
||||
DEBUG = True
|
||||
for logger in LOGGING['loggers'].values():
|
||||
logger['level'] = 'DEBUG'
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
# Fichier /etc/default/authentic2
|
||||
#
|
||||
# Activer le mode DEBUG
|
||||
#
|
||||
# export DEBUG=1
|
||||
#
|
||||
# Configuration du LDAP
|
||||
#
|
||||
# URL de l'annuaire LDAP
|
||||
|
|
Reference in New Issue