Config is now available in templates, context processors no longer override keys
This commit is contained in:
parent
ed16ae2183
commit
aa3d8398fd
5 changed files with 47 additions and 1 deletions
|
|
@ -19,6 +19,7 @@ def _default_template_ctx_processor():
|
|||
"""
|
||||
reqctx = _request_ctx_stack.top
|
||||
return dict(
|
||||
config=reqctx.app.config,
|
||||
request=reqctx.request,
|
||||
session=reqctx.session,
|
||||
g=reqctx.g
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue