From a6b0c51d394ee04c6e0c789585146444b74a4aac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20P=C3=A9pin?= Date: Tue, 8 Aug 2017 00:25:13 +0100 Subject: [PATCH] Add SERVER_EMAIL to the secrets --- cof/settings/common.py | 1 + cof/settings/secret_example.py | 1 + 2 files changed, 2 insertions(+) diff --git a/cof/settings/common.py b/cof/settings/common.py index 73959c71..bdbf179f 100644 --- a/cof/settings/common.py +++ b/cof/settings/common.py @@ -30,6 +30,7 @@ def import_secret(name): SECRET_KEY = import_secret("SECRET_KEY") ADMINS = import_secret("ADMINS") +SERVER_EMAIL = import_secret("SERVER_EMAIL") DBNAME = import_secret("DBNAME") DBUSER = import_secret("DBUSER") diff --git a/cof/settings/secret_example.py b/cof/settings/secret_example.py index 0dbc91dc..5e9bc5ca 100644 --- a/cof/settings/secret_example.py +++ b/cof/settings/secret_example.py @@ -1,5 +1,6 @@ SECRET_KEY = 'q()(zn4m63i%5cp4)f+ww4-28_w+ly3q9=6imw2ciu&_(5_4ah' ADMINS = None +SERVER_EMAIL = "root@vagrant" DBUSER = "cof_gestion" DBNAME = "cof_gestion"