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 # À 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( STATIC_ROOT = os.path.join(
os.path.dirname(os.path.dirname(BASE_DIR)), "public", "kadenios", "static" os.path.dirname(os.path.dirname(BASE_DIR)), "public", "kadenios", "static"
@ -53,7 +53,7 @@ DATABASES = {
"NAME": DBNAME, "NAME": DBNAME,
"USER": DBUSER, "USER": DBUSER,
"PASSWORD": DBPASSWD, "PASSWORD": DBPASSWD,
"HOST": os.environ.get("DBHOST", "localhost"), "HOST": os.environ.get("DBHOST", ""),
} }
} }