Mise à jour des settings de prod
This commit is contained in:
parent
5134b2cd28
commit
f4d5ce92b4
1 changed files with 2 additions and 2 deletions
|
@ -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", ""),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue