Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/auto reload templates #434

Merged
merged 1 commit into from
Jun 13, 2022

Conversation

mvergez
Copy link
Contributor

@mvergez mvergez commented Jun 13, 2022

Bonjour,

Comme mentionné dans #431, ajout de la possibilité de recharger les templates automatiquement sans avoir à relancer le service geonature-atlas.

Utilise le paramètre TEMPLATES_AUTO_RELOAD de Flask : https://flask.palletsprojects.com/en/2.1.x/config/?highlight=templates_auto_reload#TEMPLATES_AUTO_RELOAD

Pour obtenir les meilleures performances en production, ce paramètre est mis à False par défaut.

@mvergez mvergez changed the base branch from master to develop June 13, 2022 10:58
@TheoLechemia TheoLechemia merged commit a6fa2fa into PnX-SI:develop Jun 13, 2022
@TheoLechemia
Copy link
Member

merci !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants