Skip to content
Snippets Groups Projects
Commit 20472450 authored by Julian Rother's avatar Julian Rother
Browse files

Enable jinja auto-reload in debug mode

parent 856df6ab
No related merge requests found
......@@ -30,6 +30,8 @@ if __name__ == '__main__':
config['SQLITE_INIT_DATA'] = True
config['DEBUG'] = True
config.from_pyfile('config.py', silent=True)
if config['DEBUG']:
app.jinja_env.auto_reload = True
from db import query, searchquery, ldapauth, ldapget
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment