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:
1 parent
5d07c5a0b2
commit
0cd4fc8655
1 file changed
+1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user