Skip to content
Myr

Update app.py

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by lord63 · committed by lord63 · parent 6d0bbd6 · Browse files · 1 file+3 added−5 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−5 removed

  • other:+3 added−5 removed

1 file+3 added−5 removed

modified:flask/app.py+3 added-5 removed
419 unmodified lines
420421 #: A dictionary with lists of functions that should be called after422 #: each request. The key of the dictionary is the name of the blueprint423 #: this function is active for, ``None`` for all requests. This can for424 #: example be used to close database connections or getting hold of the425 #: currently logged in user. To register a function here, use the426 #: :meth:`after_request` decorator.424 #: example be used to close database connections. To register a function425 #: here, use the :meth:`after_request` decorator.426 self.after_request_funcs = {}427428 #: A dictionary with lists of functions that are called after429 #: each request, even if an exception has occurred. The key of the
359 unmodified lines
789 traceback screen active, but disable code execution.790791 It is not recommended to use this function for development with792 automatic reloading as this is badly supported. Instead you should794 be using the :command:`flask` command line script's ``runserver``795 support.793 be using the :command:`flask` command line script's ``run`` support.794795 .. admonition:: Keep in Mind796797 Flask will suppress any server error with a generic error page
1187 unmodified lines