forked from orbit-oss/flask
Added support for signals
This commit is contained in:
parent
a59dfe4a77
commit
e0712b47c6
10 changed files with 212 additions and 4 deletions
|
|
@ -24,6 +24,10 @@ from .globals import current_app, g, request, session, _request_ctx_stack
|
|||
from .module import Module
|
||||
from .templating import render_template, render_template_string
|
||||
|
||||
# the signals
|
||||
from .signals import signals_available, template_rendered, request_started, \
|
||||
request_finished, got_request_exception
|
||||
|
||||
# only import json if it's available
|
||||
if json_available:
|
||||
from .helpers import json
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue