Merge branch '0.10-maintenance'
This commit is contained in:
commit
a8f6f7413f
2 changed files with 2 additions and 0 deletions
|
|
@ -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