email sender read from environment
This commit is contained in:
parent
929df7e55f
commit
559bdbee13
|
@ -159,6 +159,8 @@ LOGGING = {
|
|||
}
|
||||
}
|
||||
|
||||
DEFAULT_FROM_EMAIL = os.environ.get('DEFAULT_FROM_EMAIL', 'ne-pas-repondre@orleans.fr')
|
||||
|
||||
INVOICES_DIR = os.environ.get('INVOICES_DIR', os.path.dirname(__file__))
|
||||
INVOICES_LOCATION_PATTERN = os.path.join(INVOICES_DIR, 'facture_{invoice_id}.pdf')
|
||||
INVOICES_NOTIFICATION_TIMEOUT = os.environ.get('INVOICES_NOTIFICATION_TIMEOUT', 10) # in days
|
||||
|
|
Reference in New Issue