Mise à jour des settings de prod

This commit is contained in:
Tom Hubrecht 2021-04-10 20:24:39 +02:00
parent 5134b2cd28
commit f4d5ce92b4

View file

@ -24,7 +24,7 @@ DBPASSWD = import_secret("DBPASSWD")
# À modifier possiblement lors de la mise en production
# #############################################################################
ALLOWED_HOSTS = ["kadenios.eleves.ens.fr", "www.kadenios.eleves.ens.fr"]
ALLOWED_HOSTS = ["vote.eleves.ens.fr"]
STATIC_ROOT = os.path.join(
os.path.dirname(os.path.dirname(BASE_DIR)), "public", "kadenios", "static"
@ -53,7 +53,7 @@ DATABASES = {
"NAME": DBNAME,
"USER": DBUSER,
"PASSWORD": DBPASSWD,
"HOST": os.environ.get("DBHOST", "localhost"),
"HOST": os.environ.get("DBHOST", ""),
}
}