SERVER_EMAIL is not a secret

This commit is contained in:
Martin Pépin 2019-12-24 16:53:01 +01:00
parent da4a440c3b
commit b91910d362
No known key found for this signature in database
GPG key ID: E7520278B1774448
2 changed files with 1 additions and 3 deletions

View file

@ -1,5 +1,4 @@
import os
import sys
from django.urls import reverse_lazy
@ -28,13 +27,13 @@ def import_secret(name):
SECRET_KEY = import_secret("SECRET_KEY")
ADMINS = import_secret("ADMINS")
MANAGERS = ADMINS
SERVER_EMAIL = import_secret("SERVER_EMAIL")
EMAIL_HOST = import_secret("EMAIL_HOST")
DBNAME = import_secret("DBNAME")
DBUSER = import_secret("DBUSER")
DBPASSWD = import_secret("DBPASSWD")
SERVER_EMAIL = "wiki@www.eleves.ens.fr"
BASE_DIR = os.path.dirname(
os.path.dirname(os.path.dirname(os.path.abspath(__file__)))

View file

@ -1,6 +1,5 @@
SECRET_KEY = '_u5q4-^1qgkqg=i5o5ha*xkd@82#l$e+%m)$v+4y#t-5!g-%g2'
ADMINS = None
SERVER_EMAIL = "changeme@localhost"
EMAIL_HOST = "localhost"
DBNAME = "wiki"