forked from orbit-oss/flask
Added flask.copy_current_request_context which simplies working with greenlets
This commit is contained in:
parent
0faed95385
commit
097353695e
7 changed files with 272 additions and 114 deletions
|
|
@ -26,7 +26,7 @@ from .helpers import url_for, flash, send_file, send_from_directory, \
|
|||
from .globals import current_app, g, request, session, _request_ctx_stack, \
|
||||
_app_ctx_stack
|
||||
from .ctx import has_request_context, has_app_context, \
|
||||
after_this_request
|
||||
after_this_request, copy_current_request_context
|
||||
from .module import Module
|
||||
from .blueprints import Blueprint
|
||||
from .templating import render_template, render_template_string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue