forked from orbit-oss/flask
Switch to explicit Werkzeug imports
This commit is contained in:
parent
6ca321c979
commit
2866ccda1f
7 changed files with 17 additions and 10 deletions
|
|
@ -14,7 +14,8 @@ __version__ = '0.8-dev'
|
|||
|
||||
# utilities we import from Werkzeug and Jinja2 that are unused
|
||||
# in the module but are exported as public interface.
|
||||
from werkzeug import abort, redirect
|
||||
from werkzeug.exceptions import abort
|
||||
from werkzeug.utils import redirect
|
||||
from jinja2 import Markup, escape
|
||||
|
||||
from .app import Flask, Request, Response
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue