No bds prefix for prod

This commit is contained in:
Ludovic Stephan 2020-09-01 15:17:10 +02:00 committed by Martin Pépin
parent fc988e3fad
commit e868e6eb18
No known key found for this signature in database
GPG key ID: E7520278B1774448

View file

@ -15,9 +15,13 @@ urlpatterns = [
] ]
# App-specific urls # App-specific urls
# TODO : mettre le préfixe de bds à "" sur gestioBDS ?
bds_is_alone = (
"bds" in settings.INSTALLED_APPS and "gestioncof" not in settings.INSTALLED_APPS
)
app_dict = { app_dict = {
"bds": "bds/", "bds": "" if bds_is_alone else "bds/",
"gestioncof": "", "gestioncof": "",
"bda": "bda/", "bda": "bda/",
"petitscours": "petitcours/", "petitscours": "petitcours/",