Fix typo
* Use the compatible way to handle the exception. You can find the source code wsgi_app in app.py, and it use the compatible way, so update it * Fix typo in config.py * Fix typo in app.py
This commit is contained in:
parent
22270d0f7d
commit
6d0bbd627c
3 changed files with 3 additions and 3 deletions
|
|
@ -421,7 +421,7 @@ class Flask(_PackageBoundObject):
|
|||
#: A dictionary with lists of functions that should be called after
|
||||
#: each request. The key of the dictionary is the name of the blueprint
|
||||
#: this function is active for, ``None`` for all requests. This can for
|
||||
#: example be used to open database connections or getting hold of the
|
||||
#: example be used to close database connections or getting hold of the
|
||||
#: currently logged in user. To register a function here, use the
|
||||
#: :meth:`after_request` decorator.
|
||||
self.after_request_funcs = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue