Added the ability to trigger functions before the first request to the application
This commit is contained in:
parent
5500986971
commit
02a1317460
4 changed files with 74 additions and 2 deletions
2
CHANGES
2
CHANGES
|
|
@ -21,6 +21,8 @@ Relase date to be decided, codename to be chosen.
|
|||
- Flask in debug mode will now complain with an assertion error if a view
|
||||
was attached after the first request was handled. This gives earlier
|
||||
feedback when users forget to import view code ahead of time.
|
||||
- Added the ability to register callbacks that are only triggered once at
|
||||
the beginning of the first request. (:meth:`Flask.before_first_request`)
|
||||
|
||||
Version 0.7.3
|
||||
-------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue