SERVER_EMAIL is not a secret
This commit is contained in:
parent
da4a440c3b
commit
b91910d362
2 changed files with 1 additions and 3 deletions
|
@ -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__)))
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue