Enable template auto reload by default

We have our own cache, and that would get confused by not
allowing a reload of the templates at runtime, which Flask 0.11+
will not allow anymore unless this setting is set to True.
This commit is contained in:
Gina Häußge 2017-02-21 13:21:42 +01:00
parent 5d07c5a0b2
commit 0cd4fc8655

View file

@ -617,6 +617,7 @@ class Server(object):
s = settings()
app.debug = self._debug
app.config["TEMPLATES_AUTO_RELOAD"] = True
secret_key = s.get(["server", "secretKey"])
if not secret_key: