forked from orbit-oss/flask
Merge branch '0.10-maintenance'
This commit is contained in:
commit
a8f6f7413f
2 changed files with 2 additions and 0 deletions
1
CHANGES
1
CHANGES
|
|
@ -31,6 +31,7 @@ Version 0.10.2
|
|||
context to be passed to teardown handlers.
|
||||
- Fixed an issue with query parameters getting removed from requests in
|
||||
the test client when absolute URLs were requested.
|
||||
- Made `@before_first_request` into a decorator as intended.
|
||||
|
||||
Version 0.10.1
|
||||
--------------
|
||||
|
|
|
|||
|
|
@ -1204,6 +1204,7 @@ class Flask(_PackageBoundObject):
|
|||
.. versionadded:: 0.8
|
||||
"""
|
||||
self.before_first_request_funcs.append(f)
|
||||
return f
|
||||
|
||||
@setupmethod
|
||||
def after_request(self, f):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue