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:
parent
5d07c5a0b2
commit
0cd4fc8655
1 changed files with 1 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue